Skip to content

Commit

Permalink
Validate version
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Oct 2, 2024
1 parent fe3b0cc commit 9e594dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
github-token: ${{secrets.GITHUB_TOKEN}}
metadata-file-path: '.github/project.yml'

- name: Validate version
if: contains(steps.metadata.outputs.current-version, 'SNAPSHOT')
run: |
echo '::error::Cannot release a SNAPSHOT version.'
exit 1
- uses: radcortez/milestone-review-action@main
name: milestone review
with:
Expand Down

0 comments on commit 9e594dc

Please sign in to comment.