Skip to content

Commit

Permalink
Change Version generator to yyyy.m.d.HMM format, single-digit month, …
Browse files Browse the repository at this point in the history
…day, hour to prevent prefix 0 failure (e.g., 2024.4.5.830)
  • Loading branch information
tjementum committed Dec 5, 2023
1 parent 827e98e commit c653354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Generate version
id: generate_version
run: |
VERSION=$(date +"%Y.%m.%d").$GITHUB_RUN_NUMBER
VERSION=$(date +"%Y.%-m.%-d.%-H%M")
echo "Generated version: $VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c653354

Please sign in to comment.