Skip to content

Commit

Permalink
Add version tag for debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
zawwz committed Nov 14, 2020
1 parent 26b21f0 commit 1f4ded3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ OLD_SUFFIX=$(grep 'VERSION_SUFFIX' "$file" | cut -d '"' -f2)

[ "$RELEASE" != "true" ] && SUFFIX="-dev-$(echo "$SHA_FULL" | cut -c1-10)"

[ "$DEBUG" = "true" ] && SUFFIX="$SUFFIX-DEBUG"

if [ "$OLD_SHA" != "$SHA_FULL" ] || [ "$OLD_SUFFIX" != "$SUFFIX" ] ; then
cat > "$file" << EOF
Expand Down

0 comments on commit 1f4ded3

Please sign in to comment.