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 28
28
- name : Compute the new minor RC
29
29
id : next
30
30
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')"
32
32
NEXT_VERSION="$(npx --yes [email protected] -i preminor --preid rc "${CURRENT_VERSION}")"
33
33
# compute the short minor version, e.g. 0.1.0-rc.1 -> 0.1
34
34
SHORT_VERSION="$(echo "${NEXT_VERSION}" | cut -d. -f1-2)"
Original file line number Diff line number Diff line change 35
35
36
36
- name : Extract the current version
37
37
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"
39
39
40
40
- name : Compute the new minor RC
41
41
id : next
You can’t perform that action at this time.
0 commit comments