Showing the changes to .github (1 of 5 files). Show all
Unified · Split
| @@ -4,6 +4,7 @@ on: · 3 unmodified lines | ||
| 4 | 4 | push: |
| 5 | 5 | tags: |
| 6 | 6 | - "v*.*.*" |
| 7 | + - "!v*-nightly.*" | |
| 7 | 8 | schedule: |
| 8 | 9 | - cron: "0 */3 * * *" |
| 9 | 10 | workflow_dispatch: |
| @@ -41,7 +42,7 @@ jobs: · 31 unmodified lines | ||
| 41 | 42 | - id: check |
| 42 | 43 | name: Compare HEAD to last nightly tag |
| 43 | 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 | 46 | if [[ -z "$last_nightly_tag" ]]; then |
| 46 | 47 | echo "No previous nightly tag found. Proceeding with release." |
| 47 | 48 | echo "has_changes=true" >> "$GITHUB_OUTPUT" |