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

This commit is contained in:
Efe Baran Durmaz authored and GitHub committed 2026-04-19 10:58:04 -07:00
1 parent 9df3c64021
commit c83bc5d48a
5 files changed
+15 -6

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@ on:
push:
tags:
- "v*.*.*"
- "!v*-nightly.*"
schedule:
- cron: "0 */3 * * *"
workflow_dispatch:
@@ -41,7 +42,7 @@ jobs:
- id: check
name: Compare HEAD to last nightly tag
run: |
last_nightly_tag=$(git tag --list 'nightly-v*' --sort=-creatordate | head -n 1)
last_nightly_tag=$(git tag --list 'v*-nightly.*' 'nightly-v*' --sort=-creatordate | head -n 1)
if [[ -z "$last_nightly_tag" ]]; then
echo "No previous nightly tag found. Proceeding with release."
echo "has_changes=true" >> "$GITHUB_OUTPUT"