2
0
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:
Jarrod Johnson
2016-12-14 08:48:45 -05:00
parent d0916d9d03
commit 25248d19fe
2 changed files with 4 additions and 4 deletions

View File

@@ -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`

View File

@@ -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 ]