Skip to content

Commit

Permalink
Merge pull request #152 from IABTechLab/ans-UID2-4013-add-changelog-f…
Browse files Browse the repository at this point in the history
…or-js-sdk-release-notes

added changelog before release for js sdk release notes
  • Loading branch information
ashleysmithTTD authored Jan 30, 2025
2 parents e538380 + 053c614 commit 06a9746
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish-package-to-npmjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,21 @@ 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 }}
draft: true
publish-package:
if: inputs.publish_to_npm
Expand Down

0 comments on commit 06a9746

Please sign in to comment.