mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-01-10 10:22:31 +00:00
Change 'post' to 'POST'
In rpm versioning, uppercase letters are 'older'. Changing 'post' to 'POST' means that text based releases are likely to supersede snapshot style builds.
This commit is contained in:
@@ -173,8 +173,8 @@ fi
|
||||
|
||||
function setversionvars {
|
||||
if [ ! -z "$USEGITVER" ]; then
|
||||
VER=`git describe`
|
||||
VER=${VER/-/.post}
|
||||
VER=`git describe --tags`
|
||||
VER=${VER/-/.POST}
|
||||
VER=${VER/-/.}
|
||||
else
|
||||
VER=`cat Version`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
VER=`git describe`
|
||||
VER=${VER/-/.post}
|
||||
VER=`git describe --tags`
|
||||
VER=${VER/-/.POST}
|
||||
VER=${VER/-/.}
|
||||
rpmbuild --version > /dev/null
|
||||
if [ $? -gt 0 ]
|
||||
|
||||
Reference in New Issue
Block a user