Skip to content

Commit

Permalink
Definitely fix auto-release process (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
WarningImHack3r authored Oct 15, 2023
1 parent 566ca16 commit 0c089a9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: 📁 Checkout
Expand Down Expand Up @@ -65,14 +67,12 @@ jobs:
- name: ✨ Create release
if: steps.version-check.outputs.version != steps.version-check.outputs.current_version
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.version-check.outputs.version }}
release_name: ${{ steps.version-check.outputs.version }}
body: |
## What's Changed
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create v${{ steps.version-check.outputs.version }} \
--title ${{ steps.version-check.outputs.version }} \
--notes "## What's Changed
${{ steps.version-check.outputs.changelog }}
**Full Changelog:** https://github.com/${{ github.repository }}/compare/v${{ steps.version-check.outputs.current_version }}...v${{ steps.version-check.outputs.version }}
**Full Changelog:** https://github.com/${{ github.repository }}/compare/v${{ steps.version-check.outputs.current_version }}...v${{ steps.version-check.outputs.version }}"

0 comments on commit 0c089a9

Please sign in to comment.