Skip to content

Commit b341371

Browse files
get correct new version number for js sdk release notes
1 parent 921d032 commit b341371

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/publish-package-to-npmjs.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,10 @@ jobs:
7272
needs: [incrementVersionNumber, build]
7373
runs-on: ubuntu-latest
7474
steps:
75-
- name: Build Changelog
76-
id: github_release_changelog
77-
uses: mikepenz/release-changelog-builder-action@v4
78-
with:
79-
toTag: v${{ inputs.new_version }}
80-
configurationJson: |
81-
{
82-
"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}}",
83-
"pr_template": " - #{{TITLE}} - ( PR: ##{{NUMBER}} )"
84-
}
8575
- name: Create Release Notes
8676
uses: softprops/action-gh-release@v2
8777
with:
88-
name: v${{ inputs.new_version }}
89-
body: ${{ steps.github_release_changelog.outputs.changelog }}
78+
name: v${{ needs.incrementVersionNumber.outputs.new_version }}
9079
draft: true
9180
publish-package:
9281
if: inputs.publish_to_npm

0 commit comments

Comments
 (0)