Skip to content

Commit

Permalink
fix: puts tag name directly in script
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewmeconry committed May 11, 2022
1 parent 736eed6 commit c921f6d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/javascript_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@ jobs:
echo "::set-output name=commitid::$(git rev-parse HEAD)"
- name: create tag
uses: actions/github-script@v5
env:
TAG_NAME: "${{ steps.bump.outputs.version }}-javascript-${{ matrix.package }}"
with:
github-token: ${{ secrets.ARABOT_PAT }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${process.env.TAG_NAME}`,
ref: `refs/tags/${{ steps.bump.outputs.version }}-javascript-${{ matrix.package }}`,
sha: ${{ steps.commit.outputs.commitid }}
})

0 comments on commit c921f6d

Please sign in to comment.