Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonichigo authored Aug 26, 2024
1 parent b0a113b commit 4d765b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ jobs:
echo "::set-output name=unique_tag::release-${{ needs.package.outputs.version }}-$timestamp"
- name: Create tag
id: create_tag
run: |
git config user.name github-actions
git config user.email [email protected]
git tag ${{ steps.generate_tag.outputs.unique_tag }}
git push origin ${{ steps.generate_tag.outputs.unique_tag }}
echo "::set-output name=tag::${{ steps.generate_tag.outputs.unique_tag }}"
# - name: Commit tagger
# uses: tvdias/[email protected]
Expand All @@ -98,7 +100,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ needs.package.outputs.tag }}
tag_name: ${{ needs.create_tag.outputs.tag }}
release_name: Release ${{ needs.package.outputs.version }}
draft: false
prerelease: false
Expand All @@ -107,5 +109,5 @@ jobs:
uses: AButler/[email protected]
with:
files: ${{ needs.package.outputs.packageName }}
release-tag: ${{ needs.package.outputs.tag }}
release-tag: ${{ needs.create_tag.outputs.tag }}
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4d765b5

Please sign in to comment.