diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 69881a9..4360aa9 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -46,14 +46,14 @@ jobs: file: package.json path: ./src - name: Echo Package - run: echo "${{steps.package.outputs }}" + run: echo "${{ env.PACKAGE_VERSION }}" - name: Read ChangeLog id: changelog uses: BinPar/read-conventional-commit-changelog@v2.0.2 with: changelog-path: ./CHANGELOG.md - version: 4.5.7 + version: ${{ env.PACKAGE_VERSION }} - name: Echo ChangeLog run: echo "${{ steps.changelog.outputs.version-changelog }}" # - uses: release-drafter/release-drafter@v6 @@ -71,8 +71,8 @@ jobs: with: # This pulls from the "Get Changelog Entry" step above, referencing it's ID to get its outputs object. # See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - tag: 4.5.7 - name: 4.5.7 + tag: ${{ env.PACKAGE_VERSION }} + name: ${{ env.PACKAGE_VERSION }} body: ${{ steps.changelog.outputs.version-changelog }} allowUpdates: true token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file