Skip to content

Commit 493c0ab

Browse files
committed
ci: calculate calver base in utc timezone
1 parent 5d542ce commit 493c0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "PROJECT_NAME=v${MC_VERSION//./_}" >> $GITHUB_ENV
3636
echo "OUTPUT_FILE_NAME=bridge_${MC_VERSION//./}.jar" >> $GITHUB_ENV
3737
38-
CALVER_BASE=$(date +"%Y.%m.%d")
38+
CALVER_BASE=$(date --utc +"%Y.%m.%d")
3939
SHORT_COMMIT_SHA=$(cut -c1-10 <<< "${{ github.sha }}")
4040
echo "version=$CALVER_BASE-$SHORT_COMMIT_SHA" >> $GITHUB_OUTPUT
4141

0 commit comments

Comments
 (0)