use UTC timestamp for version instead of git describe
This commit is contained in:
parent
39641b73d4
commit
297cb8fc91
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -115,7 +115,7 @@ jobs:
|
|||
VERSION=${TAG#v}
|
||||
echo "is_tag=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
VERSION=$(git describe --tags --always --dirty=-modified | sed 's/^v//')
|
||||
VERSION=$(date -u '+%Y-%m-%dT%H:%M:%SZ')
|
||||
echo "is_tag=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
SHORT_SHA=${GITHUB_SHA::7}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue