Skip to content

Commit 306d0f1

Browse files
committed
Use a version-like tag name for correct release ordering
1 parent 01c10dd commit 306d0f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
id: create_tag
1919
run: |
2020
if [[ "${{ github.event_name }}" == "schedule" ]]; then
21-
tag=builds-$(date +%Y%m%d-%H%M%S)
21+
tag=v$(date +%Y%m%d.%H%M%S)
2222
else
2323
tag=$(basename "${{ github.ref }}")
2424
fi

Diff for: trigger.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
2-
tag=builds-$(date +%Y%m%d-%H%M%S)
2+
tag=v$(date +%Y%m%d.%H%M%S)
33
git tag "$tag"
44
git push origin "$tag"

0 commit comments

Comments
 (0)