Skip to content

Commit

Permalink
release_commit.sh: fix version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
vitlav committed Apr 9, 2024
1 parent 5ffb29a commit 1f59d04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ fi
SPECNAME=eepm.spec
version="$(get_version $SPECNAME)"
baseversion=$(echo "$version" | sed -e 's|\.[0-9]*$||')
minorversion=$(echo "$baseversion" | sed -e 's|.*\.||')

[ $((version%2)) = 1 ] && version="$version-beta"
[ "$((minorversion%2))" = 1 ] && version="$version-beta"

./pack_in_onefile.sh || exit

Expand Down

0 comments on commit 1f59d04

Please sign in to comment.