Skip to content

Commit

Permalink
build: automate tagging process for deno
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Aug 5, 2020
1 parent 195bc4a commit 99cdf5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-please.yml
Expand Up @@ -8,13 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: bcoe/release-please-action@v1.6.3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: yargs-parser
release-deno:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
Expand All @@ -30,5 +28,7 @@ jobs:
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/yargs/yargs-parser.git"
git checkout -b deno
git add -f build
git commit -a -m 'build: deploy latest Deno build'
git commit -a -m 'chore: ${{ steps.release.outputs.tag_name }} release'
git push origin +deno
git tag -a ${{ steps.release.outputs.tag_name }}-deno -m 'chore: ${{ steps.release.outputs.tag_name }} release'
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 99cdf5d

Please sign in to comment.