@@ -32,12 +32,12 @@ jobs:
3232 run : pnpm install
3333
3434 - name : Build SDK
35- run : pnpm --filter="hyperbridge- sdk" build
35+ run : pnpm --filter="@ hyperbridge/ sdk" build
3636
3737 - name : Publish to npm
3838 run : |
3939 echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
40- pnpm --filter="hyperbridge- sdk" publish --no-git-checks
40+ pnpm --filter="@ hyperbridge/ sdk" publish --no-git-checks
4141 env :
4242 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4343
@@ -66,22 +66,26 @@ jobs:
6666 id : changelog
6767 run : |
6868 if [ -n "${{ steps.get_previous_tag.outputs.PREVIOUS_TAG }}" ]; then
69- echo "CHANGELOG<<EOF" >> $GITHUB_OUTPUT
70- echo "## Changes since ${{ steps.get_previous_tag.outputs.PREVIOUS_TAG }}" >> $GITHUB_OUTPUT
71- git log --pretty=format:"* %s (%h)" ${{ steps.get_previous_tag.outputs.PREVIOUS_TAG }}..${{ steps.get_version.outputs.VERSION }} >> $GITHUB_OUTPUT
72- echo "EOF" >> $GITHUB_OUTPUT
69+ {
70+ echo "CHANGELOG<<EOF"
71+ echo "## Changes since ${{ steps.get_previous_tag.outputs.PREVIOUS_TAG }}"
72+ git log --pretty=format:"* %s (%h)" ${{ steps.get_previous_tag.outputs.PREVIOUS_TAG }}..${{ steps.get_version.outputs.VERSION }} >> $GITHUB_OUTPUT
73+ echo "EOF"
74+ } >> $GITHUB_OUTPUT
7375 else
74- echo "CHANGELOG<<EOF" >> $GITHUB_OUTPUT
75- echo "## Initial Release" >> $GITHUB_OUTPUT
76- git log --pretty=format:"* %s (%h)" >> $GITHUB_OUTPUT
77- echo "EOF" >> $GITHUB_OUTPUT
76+ {
77+ echo "CHANGELOG<<EOF"
78+ echo "## Initial Release"
79+ git log --pretty=format:"* %s (%h)"
80+ echo "EOF"
81+ } >> $GITHUB_OUTPUT
7882 fi
7983
8084 - name : Create GitHub Release
8185 uses : softprops/action-gh-release@v1
8286 with :
83- tag_name : ${{ steps.get_version.outputs.VERSION }}
84- name : Release ${{ steps.get_version.outputs.VERSION }}
87+ tag_name : hyperbridge-sdk- ${{ steps.get_version.outputs.VERSION }}
88+ name : Hyperbridge SDK ${{ steps.get_version.outputs.VERSION }}
8589 body : ${{ steps.changelog.outputs.CHANGELOG }}
8690 draft : true
8791 env :
0 commit comments