Skip to content

Commit

Permalink
get correct new version number for js sdk release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Jan 30, 2025
1 parent 921d032 commit b341371
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/publish-package-to-npmjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,10 @@ jobs:
needs: [incrementVersionNumber, build]
runs-on: ubuntu-latest
steps:
- name: Build Changelog
id: github_release_changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
toTag: v${{ inputs.new_version }}
configurationJson: |
{
"template": "#{{CHANGELOG}}\n## Installation\n```\ndocker pull ${{ inputs.tags }}\n```\n\n## Image reference to deploy: \n```\n${{ inputs.image_tag }}\n```\n\n## Changelog\n#{{UNCATEGORIZED}}",
"pr_template": " - #{{TITLE}} - ( PR: ##{{NUMBER}} )"
}
- name: Create Release Notes
uses: softprops/action-gh-release@v2
with:
name: v${{ inputs.new_version }}
body: ${{ steps.github_release_changelog.outputs.changelog }}
name: v${{ needs.incrementVersionNumber.outputs.new_version }}
draft: true
publish-package:
if: inputs.publish_to_npm
Expand Down

0 comments on commit b341371

Please sign in to comment.