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
4 push:4 push:
5 tags:5 tags:
6 - "v*.*.*"6 - "v*.*.*"
7 - "!v*-nightly.*"
7 schedule:8 schedule:
8 - cron: "0 */3 * * *"9 - cron: "0 */3 * * *"
9 workflow_dispatch:10 workflow_dispatch:
@@ -41,7 +42,7 @@ jobs: · 31 unmodified lines
41 - id: check42 - id: check
42 name: Compare HEAD to last nightly tag43 name: Compare HEAD to last nightly tag
43 run: |44 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)
45 if [[ -z "$last_nightly_tag" ]]; then46 if [[ -z "$last_nightly_tag" ]]; then
46 echo "No previous nightly tag found. Proceeding with release."47 echo "No previous nightly tag found. Proceeding with release."
47 echo "has_changes=true" >> "$GITHUB_OUTPUT"48 echo "has_changes=true" >> "$GITHUB_OUTPUT"