Skip to content

Commit

Permalink
ci: optimize ci release (#2373)
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin.apolinario committed Feb 21, 2024
1 parent fd877bf commit 83d8af6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Get current version
id: get_version
run: echo ::set-output name=VERSION::$(node -e "console.log(require('./package.json').version)")

- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
Expand All @@ -28,8 +24,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.VERSION }}
release_name: ${{ steps.get_version.outputs.VERSION }}
tag_name: ${{ github.ref }}
release_name: v${{ github.ref }}
draft: false
prerelease: false
body: |
Expand Down

0 comments on commit 83d8af6

Please sign in to comment.