Skip to content

Commit ce1916f

Browse files
authored
Update BUILD_TIME calculation in automaticRelease.yaml
Fix date command to use current time instead of run start time.
1 parent 6fa764f commit ce1916f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/automaticRelease.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ jobs:
550550
RUN_STARTED_AT: ${{ github.run_started_at }}
551551
shell: bash
552552
run: |
553-
BUILD_TIME=$(date -u -d "$RUN_STARTED_AT" '+%Y-%m-%d %H:%M UTC')
553+
BUILD_TIME=$(date -u '+%Y-%m-%d %H:%M UTC')
554554
echo "build-time=$BUILD_TIME" >> "$GITHUB_OUTPUT"
555555
- name: Compute automatic release tag
556556
id: set-release-tag

0 commit comments

Comments
 (0)