File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 47
47
PREV_VERSION_TAG=$(gh api repos/:owner/:repo/releases --jq '. | map(select(.draft == false)) | .[0] | .tag_name')
48
48
PREV_VERSION=$(npx semver --coerce ${PREV_VERSION_TAG})
49
49
50
- NEXT_VERSION=$(npx semver -i $VERSION_INPUT $PREV_VERSION)
50
+ NEXT_VERSION=$(npx semver -i $VERSION_BUMP $PREV_VERSION)
51
51
else
52
52
NEXT_VERSION=${{ github.event.inputs.exactVersion }}
53
53
fi
59
59
npx semver v"${NEXT_VERSION}"
60
60
61
61
npm version "${NEXT_VERSION}" --no-git-tag-version
62
- echo "RELEASE_TAG=v${NEXT_VERSION}" >> $GITHUB_ENV
62
+ echo "RELEASE_TAG=v${NEXT_VERSION}" >> " $GITHUB_ENV"
63
63
64
64
- name : Validate release tag
65
65
shell : bash
98
98
ls *.vsix.sig
99
99
100
100
gh release create "${RELEASE_TAG}" \
101
- --title "${RELEASE_VERSION }" \
101
+ --title "${RELEASE_TAG }" \
102
102
--notes "Edit the release notes before publishing." \
103
103
--target main \
104
104
--draft \
You can’t perform that action at this time.
0 commit comments