There was an error while loading. Please reload this page.
1 parent d630b44 commit f821dd8Copy full SHA for f821dd8
1 file changed
.github/workflows/build.yml
@@ -75,7 +75,8 @@ jobs:
75
76
# Version calculation based on branch
77
if [[ "${{ github.ref }}" =~ ^refs/heads/(issue|feature|dependabot)/ ]]; then
78
- new_version="${base_version%%-*}+$(git rev-parse --short HEAD)"
+ TIMESTAMP=$(date -u +"%Y%m%d%H%M")
79
+ new_version="${base_version}a${TIMESTAMP}"
80
echo "TARGET_ENV_UPPERCASE=SIT" >> $GITHUB_ENV
81
elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then
82
0 commit comments