File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ jobs:
41
41
42
42
- name : Bump version
43
43
id : bump
44
- if : steps.check_labels.outputs.RELEASE_TYPE != 'no-release'
44
+ if : steps.check_labels.outputs.version != 'no-release'
45
45
run : |
46
46
git config user.name "GitHub Actions"
47
47
git config user.email "actions@github.com"
48
- if [ "${{ steps.check_labels.outputs.RELEASE_TYPE }}" == "alpha" ]; then
48
+ if [ "${{ steps.check_labels.outputs.version }}" == "alpha" ]; then
49
49
npm version -m "[bot] New pkg version: %s" --preid=alpha prerelease
50
50
else
51
- npm version -m "[bot] New pkg version: %s" ${{ steps.check_labels.outputs.RELEASE_TYPE }}
51
+ npm version -m "[bot] New pkg version: %s" ${{ steps.check_labels.outputs.version }}
52
52
fi
53
53
54
54
- name : Create GitHub Release
57
57
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
58
run : |
59
59
VERSION=$(node -p "require('./package.json').version")
60
- echo "Would execute command:"
61
- echo "gh release create \"v${VERSION}\" \\"
62
- echo " --title \"Release v${VERSION}\" \\"
63
- echo " --generate-notes \\"
64
- echo " --prerelease \\"
65
- echo " --target \"${COMMIT_SHA}\""
60
+ gh release create "v${VERSION}" \
61
+ --title "Release v${VERSION}" \
62
+ --generate-notes \
63
+ --prerelease \
64
+ --target "${GITHUB_SHA}"
You can’t perform that action at this time.
0 commit comments