History

fix(release): use v<semver> tag format for nightly releases (#2186)

Efe Baran Durmaz committed 6 months agov0.0.21-nightly.20260419.73

Commit c83bc5d1 parent 9df3c645 files · +15 −6Browse files

Showing the changes to .github (1 of 5 files). Show all

Unified · Split

.github/workflows/release.yml+2−1
@@ -4,6 +4,7 @@ on: · 3 unmodified lines
44 push:
55 tags:
66 - "v*.*.*"
7+ - "!v*-nightly.*"
78 schedule:
89 - cron: "0 */3 * * *"
910 workflow_dispatch:
@@ -41,7 +42,7 @@ jobs: · 31 unmodified lines
4142 - id: check
4243 name: Compare HEAD to last nightly tag
4344 run: |
44− last_nightly_tag=$(git tag --list 'nightly-v*' --sort=-creatordate | head -n 1)
45+ last_nightly_tag=$(git tag --list 'v*-nightly.*' 'nightly-v*' --sort=-creatordate | head -n 1)
4546 if [[ -z "$last_nightly_tag" ]]; then
4647 echo "No previous nightly tag found. Proceeding with release."
4748 echo "has_changes=true" >> "$GITHUB_OUTPUT"