Skip to content

Commit f821dd8

Browse files
committed
/deploy sit
1 parent d630b44 commit f821dd8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ jobs:
7575
7676
# Version calculation based on branch
7777
if [[ "${{ github.ref }}" =~ ^refs/heads/(issue|feature|dependabot)/ ]]; then
78-
new_version="${base_version%%-*}+$(git rev-parse --short HEAD)"
78+
TIMESTAMP=$(date -u +"%Y%m%d%H%M")
79+
new_version="${base_version}a${TIMESTAMP}"
7980
echo "TARGET_ENV_UPPERCASE=SIT" >> $GITHUB_ENV
8081
elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then
8182
echo "TARGET_ENV_UPPERCASE=SIT" >> $GITHUB_ENV

0 commit comments

Comments
 (0)