Skip to content

Commit

Permalink
fix release date in version build number
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSYTY committed Apr 29, 2024
1 parent 7b981bb commit 239c6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saveVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fi
# for rpm
if [ "x${RELEASE}" != "x" ];then
# since 5.4.19, version changes into "5.4.19-${DATE}_${BUILDNUMBER}-SNAPSHOT"
ec="echo $version | sed 's/_.*-SNAPSHOT//'"
ec="echo $version | sed 's/SNAPSHOT/$RELEASE/g'"
version=`eval $ec`
elif [ "x${FW_BRANCH_NAME}" != "x" ]; then
# for fastwork read from rpm tag build name
Expand Down

0 comments on commit 239c6ff

Please sign in to comment.