Skip to content

Commit b01ca16

Browse files
authored
chore: update release draft variables to set correctly (#647)
1 parent d3da9c7 commit b01ca16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/draft-release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
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
@@ -59,7 +59,7 @@ jobs:
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
@@ -98,7 +98,7 @@ jobs:
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 \

0 commit comments

Comments
 (0)