1717
1818permissions :
1919 contents : write
20- packages : write
2120
2221jobs :
2322 release :
3433 with :
3534 node-version-file : " .nvmrc"
3635 cache : npm
37- registry-url : https://registry.npmjs.org
3836
3937 - name : Install dependencies
4038 run : npm ci
@@ -153,19 +151,6 @@ jobs:
153151 echo "📝 Version bump and tag were created successfully."
154152 fi
155153
156- - name : Publish to NPM
157- env :
158- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
159- run : |
160- VERSION="${{ steps.version.outputs.new_version }}"
161- if [[ "$VERSION" == *"alpha"* ]] || [[ "$VERSION" == *"beta"* ]]; then
162- echo "Publishing prerelease version with --tag alpha"
163- npm publish --tag alpha
164- else
165- echo "Publishing stable version with --tag latest"
166- npm publish --tag latest
167- fi
168-
169154 - name : Create GitHub Release
170155 uses : softprops/action-gh-release@v2
171156 with :
@@ -181,10 +166,4 @@ jobs:
181166 echo "## 🎉 Successfully released v${{ steps.version.outputs.new_version }}!" >> $GITHUB_STEP_SUMMARY
182167 echo "" >> $GITHUB_STEP_SUMMARY
183168 echo "### 📦 Distribution" >> $GITHUB_STEP_SUMMARY
184- echo "- **NPM**: Published with @latest tag" >> $GITHUB_STEP_SUMMARY
185- echo "- **GitHub Release**: https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite/releases/tag/v${{ steps.version.outputs.new_version }}" >> $GITHUB_STEP_SUMMARY
186- echo "" >> $GITHUB_STEP_SUMMARY
187- echo "### ✅ Installation" >> $GITHUB_STEP_SUMMARY
188- echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
189- echo "npx bmad-method@${{ steps.version.outputs.new_version }} install" >> $GITHUB_STEP_SUMMARY
190- echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
169+ echo "- **GitHub Release**: https://github.com/bmad-code-org/bmad-module-game-dev-studio/releases/tag/v${{ steps.version.outputs.new_version }}" >> $GITHUB_STEP_SUMMARY
0 commit comments