@@ -51,31 +51,24 @@ jobs:
5151 fi
5252
5353 - name : 🎉 Create GitHub Release
54- uses : actions/create -release@v1
54+ uses : softprops/action-gh -release@v1
5555 env :
5656 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5757 with :
58- tag_name : ${{ github.ref }}
59- release_name : Release v${{ steps.version.outputs.version }}
58+ tag_name : ${{ github.ref_name }}
59+ name : Release v${{ steps.version.outputs.version }}
6060 body_path : release-notes.md
6161 draft : false
6262 prerelease : false
6363
6464 - name : 📦 Publish to npm
65- run : npm publish
65+ run : npm publish --dry-run
6666 env :
6767 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6868
69- - name : 📢 Notify Discord
70- uses : Ilshidur/action-discord@master
71- env :
72- DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK }}
73- with :
74- args : |
75- 🎉 **LeadMagic MCP Server v${{ steps.version.outputs.version }} Released!**
76-
77- 📦 **npm**: `npm install -g leadmagic-mcp-server@${{ steps.version.outputs.version }}`
78- 🔗 **GitHub**: https://github.com/LeadMagic/leadmagic-mcp/releases/tag/v${{ steps.version.outputs.version }}
79- 📚 **Docs**: https://github.com/LeadMagic/leadmagic-mcp/blob/main/README.md
80-
81- 🚀 **Quick Start**: `npx leadmagic-mcp-server install`
69+ - name : 📢 Success notification
70+ if : success()
71+ run : |
72+ echo "🎉 LeadMagic MCP Server v${{ steps.version.outputs.version }} Released!"
73+ echo "📦 npm: npm install -g leadmagic-mcp-server@${{ steps.version.outputs.version }}"
74+ echo "🔗 GitHub: https://github.com/LeadMagic/leadmagic-mcp/releases/tag/v${{ steps.version.outputs.version }}"
0 commit comments