From ba16e9453ea515a7b041c11dca7ddeeb1b479a09 Mon Sep 17 00:00:00 2001 From: Brian Zinn Date: Wed, 11 Nov 2020 22:11:48 -0800 Subject: [PATCH] release.yml action - add comment input --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b95ced7d..29fd54bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,10 @@ on: description: 'NPM Version ( | major | minor | patch | premajor | preminor | prepatch | prerelease | ...)' required: true default: 'patch' + comment: + description: 'Added to end of commit message and annotated git tag' + required: true + default: ' ()' # push: # branches: [ master ] @@ -31,8 +35,7 @@ jobs: run: | yarn install yarn build - - run: echo "version -- ${{ github.event.inputs.npmVersion }}" - - run: npm version ${{ github.event.inputs.npmVersion }} -m "release %s :package:" + - run: npm version ${{ github.event.inputs.npmVersion }} -m "release %s :package:\u0020${{ github.event.inputs.comment }}" - run: git push && git push --tags - name: publish-npm run: npm publish --access public