Skip to content

Commit

Permalink
feat: show me next version
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Dec 15, 2020
1 parent 8c3db9b commit e9ee976
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/stacks-wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ jobs:
# Only run on non-PR events or only PRs that aren't from forks
if: (!contains(needs.*.result, 'failure')) && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
with:
header: '> [Download the latest builds](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).'
header: |
> [Download the latest builds](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).
This will be version ${{needs.release.outputs.new_release_version}} when merged into `master`
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Remove header if build failed
Expand Down
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,23 @@
}
},
"release": {
"branch": [
"+([0-9])?(.{+([0-9]),x}).x",
{
"name": "master",
"prerelease": true
},
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit e9ee976

Please sign in to comment.