Skip to content

Commit

Permalink
include short hash as default version
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmas committed Jan 8, 2024
1 parent a501757 commit 3ce3e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/generate-appinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ elif [ -n "$CI_COMMIT_REF_NAME" ]; then
method="gitlab-ref"
elif command -v git &> /dev/null; then
#version=`git describe --tags --abbrev=0`
version=`git rev-parse --short HEAD`
git_hash=`git rev-parse HEAD`
git_branch=`git branch --show-current`
mode="cmd"
Expand Down

0 comments on commit 3ce3e18

Please sign in to comment.