File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828 - name : Compute the new minor RC
2929 id : next
3030 run : |
31- CURRENT_VERSION="$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "mas-cli") | .version')"
31+ CURRENT_VERSION="$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "mas-cli") | .version')"
3232 NEXT_VERSION="$(npx --yes [email protected] -i preminor --preid rc "${CURRENT_VERSION}")" 3333 # compute the short minor version, e.g. 0.1.0-rc.1 -> 0.1
3434 SHORT_VERSION="$(echo "${NEXT_VERSION}" | cut -d. -f1-2)"
Original file line number Diff line number Diff line change 3535
3636 - name : Extract the current version
3737 id : current
38- run : echo "version=$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "mas-cli") | .version')" >> "$GITHUB_OUTPUT"
38+ run : echo "version=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "mas-cli") | .version')" >> "$GITHUB_OUTPUT"
3939
4040 - name : Compute the new minor RC
4141 id : next
You can’t perform that action at this time.
0 commit comments