Skip to content

Commit

Permalink
chore: updates action
Browse files Browse the repository at this point in the history
chore: updates action
  • Loading branch information
DestroyCom committed Sep 4, 2023
2 parents a63a3ad + db4fae3 commit 9d0d39d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
fetch-depth: 0
- name: Get last commit message
id: commit_message
run: echo "::set-output name=message::$(git log -1 --pretty=format:'%s')"
run: echo "COMMIT_MSG=$(git log -1 --pretty=format:'%s')" >> $GITHUB_ENV
- name: Echo env
run: echo ${{ steps.commit_message.outputs.message }}
run: echo ${{ env.COMMIT_MSG }}
- name: Create or update major version
uses: joutvhu/create-tag@v1
with:
tag_name: ${{ steps.commit_message.outputs.message }}
message: ${{ steps.commit_message.outputs.message }}
tag_name: ${{ env.COMMIT_MSG }}
message: ${{ env.COMMIT_MSG }}
on_tag_exists: update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9d0d39d

Please sign in to comment.