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 4747 PREV_VERSION_TAG=$(gh api repos/:owner/:repo/releases --jq '. | map(select(.draft == false)) | .[0] | .tag_name')
4848 PREV_VERSION=$(npx semver --coerce ${PREV_VERSION_TAG})
4949
50- NEXT_VERSION=$(npx semver -i $VERSION_INPUT $PREV_VERSION)
50+ NEXT_VERSION=$(npx semver -i $VERSION_BUMP $PREV_VERSION)
5151 else
5252 NEXT_VERSION=${{ github.event.inputs.exactVersion }}
5353 fi
5959 npx semver v"${NEXT_VERSION}"
6060
6161 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"
6363
6464 - name : Validate release tag
6565 shell : bash
9898 ls *.vsix.sig
9999
100100 gh release create "${RELEASE_TAG}" \
101- --title "${RELEASE_VERSION }" \
101+ --title "${RELEASE_TAG }" \
102102 --notes "Edit the release notes before publishing." \
103103 --target main \
104104 --draft \
You can’t perform that action at this time.
0 commit comments