Skip to content

Commit

Permalink
Pass version to changelog step.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavpandeyvpz committed May 21, 2024
1 parent 5d0e60c commit af23bc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ jobs:
version: ${{ steps.release.outputs.version }}
steps:
- uses: actions/checkout@v4
- name: Get tag or version
id: gitvars
run: |
echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- name: Collect changelog
id: changelog
uses: saadmk11/[email protected]
with:
release_version: ${{ steps.gitvars.outputs.version }}
- name: Create a Github release
uses: taiki-e/create-gh-release-action@v1
id: release
Expand Down

0 comments on commit af23bc1

Please sign in to comment.