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