Skip to content

Commit

Permalink
Update version-bump.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seantomburke authored Nov 4, 2020
1 parent e00f7bc commit 9997b0c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,22 @@ jobs:
git config --local user.name "GitHub Action"
echo "::set-output name=version::$(echo $(npm version patch))"
git push
release:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
node-version: [10.x]
steps:
- name: draft release
id: draft_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ jobs.build.outputs.nodeVersion }}
release_name: Release ${{ jobs.build.outputs.nodeVersion }}
tag_name: ${{ needs.build.outputs.nodeVersion }}
release_name: Release ${{ needs.build.outputs.nodeVersion }}
body: |
Releasing version ${{ jobs.build.outputs.nodeVersion }} to NPM
Releasing version ${{ needs.build.outputs.nodeVersion }} to NPM
draft: true
prerelease: false

0 comments on commit 9997b0c

Please sign in to comment.