add release back into tag
This commit is contained in:
parent
c25fa1943a
commit
4ddb8de08e
@ -755,9 +755,8 @@ git push --force -u $QUIET origin master
|
|||||||
# Now create the version and release tag for these files
|
# Now create the version and release tag for these files
|
||||||
RELEASE=`rpm --queryformat '%{release}\n' --specfile $NAME.spec | head -n 1`
|
RELEASE=`rpm --queryformat '%{release}\n' --specfile $NAME.spec | head -n 1`
|
||||||
# Release is not reliable - if you run on Rocky it comes back EL8, centos 7 - EL7
|
# Release is not reliable - if you run on Rocky it comes back EL8, centos 7 - EL7
|
||||||
# so - confusing!!
|
# So, we need to just take the build part (first word)
|
||||||
# for now - take out the RELEASE from the tag
|
TAG=$VERSION"-"${RELEASE%.*}
|
||||||
TAG=$VERSION
|
|
||||||
git tag -a $TAG -m "$COMMENT"
|
git tag -a $TAG -m "$COMMENT"
|
||||||
git push origin $TAG $QUIET
|
git push origin $TAG $QUIET
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user