Skip to content

Commit

Permalink
Update manual-tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrompflopes committed Nov 17, 2022
1 parent 1827df2 commit 97e345b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/manual-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2.3.4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Tag
run: |
echo ${{ github.event.inputs.tag }}
echo "NEXT_VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
- name: Create tag
uses: actions-ecosystem/action-push-tag@v1
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
tag: ${{ env.NEXT_VERSION }}
tag=${{ github.event.inputs.tag }}
message='${{ github.event.inputs.tag }}: PR #${{ github.event.pull_request.number }} ${{ github.event.pull_request.title }}'
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git tag -a "${tag}" -m "${message}"
git push origin "${tag}"

0 comments on commit 97e345b

Please sign in to comment.