Skip to content

Commit

Permalink
Merge pull request #3 from smallrye/fix-pre-release-job
Browse files Browse the repository at this point in the history
Fix pre release job
  • Loading branch information
kenfinnigan authored Jul 2, 2020
2 parents 397f6b0 + 3d6fcf7 commit 74eb485
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SmallRye Testing
release:
current-version: 0.0.0
next-version: 0.1.0-SNAPSHOT
current-version: 0.1.0
next-version: 0.1.1-SNAPSHOT
10 changes: 5 additions & 5 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
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
if: contains(steps.metadata.outputs.current-version, 'SNAPSHOT')
run: |
echo '::error::Cannot release a SNAPSHOT version.'
exit 1
- uses: radcortez/milestone-review-action@master
name: milestone review
with:
github-token: ${{secrets.GITHUB_TOKEN}}
milestone-title: ${{steps.metadata.outputs.current-version}}
milestone-title: ${{steps.metadata.outputs.current-version}}

0 comments on commit 74eb485

Please sign in to comment.