Skip to content

Commit

Permalink
Merge pull request #41 from contentstack/fix/CS-40216
Browse files Browse the repository at this point in the history
fix/CS-40216-Added the fix in release workflow for the github release only
  • Loading branch information
abhinav-from-contentstack authored Jul 17, 2023
2 parents 3402e74 + 9b60387 commit dde6328
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ jobs:
path: lib
- name: Display dirs
run: ls -R
- name: Release
id: release-plugin
uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- name: github-release
id: github-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
run: gh release create v${{ steps.package-version.outputs.current-version }} --title "Release ${{ steps.package-version.outputs.current-version }}" --generate-notes

0 comments on commit dde6328

Please sign in to comment.