File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7070 # Check if this is a beta release
7171 if [[ "$VERSION" == *"-beta"* ]]; then
7272 echo "tag=--tag beta" >> $GITHUB_OUTPUT
73- # Check if this release is from a non-main branch (patch/maintenance release)
74- elif [[ "${{ github.event.release.target_commitish }}" != "main" ]]; then
73+ # Check if this release is from a non-primary branch (patch/maintenance release)
74+ elif [[ "${{ github.event.release.target_commitish }}" != "main" && "${{ github.event.release.target_commitish }}" != "v1.x" ]]; then
7575 # Use "release-X.Y" as tag for old branch releases (e.g., "release-1.23" for 1.23.x)
7676 # npm tags are mutable pointers to versions (like "latest" pointing to 1.24.3).
7777 # Using "release-1.23" means users can `npm install @modelcontextprotocol/sdk@release-1.23`
You can’t perform that action at this time.
0 commit comments