Skip to content

Commit 8cb45a1

Browse files
authored
chore: update release.yaml
1 parent ecac042 commit 8cb45a1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Stable Version
1+
name: Release
22

33
on:
44
# Manual releases
@@ -15,7 +15,7 @@ on:
1515
- 'experimental'
1616
default: 'rc'
1717
version_bump:
18-
description: 'Version Bump (stable only: patch|minor|major or auto)'
18+
description: 'Version Bump (patch|minor|major or specific number)'
1919
required: false
2020
default: ''
2121
npm_tag:
@@ -64,17 +64,15 @@ jobs:
6464
env:
6565
GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
6666
run: |
67-
npm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
6867
git config user.name "${{ secrets.UI5_WEBCOMP_BOT_NAME }}"
6968
git config user.email "${{ secrets.UI5_WEBCOMP_BOT_EMAIL }}"
70-
yarn lerna version --conventional-graduate --force-conventional-graduate --yes --exact --create-release github
69+
yarn lerna version ${{ github.event.inputs.version_bump || '' }} --conventional-graduate --force-conventional-graduate --yes --exact --create-release github
7170
7271
- name: Version Bump - RC
7372
if: ${{ github.event.inputs.release_type == 'rc' }}
7473
env:
7574
GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
7675
run: |
77-
npm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
7876
git config user.name "${{ secrets.UI5_WEBCOMP_BOT_NAME }}"
7977
git config user.email "${{ secrets.UI5_WEBCOMP_BOT_EMAIL }}"
8078
yarn lerna version --conventional-prerelease --force-publish --yes --exact --create-release github
@@ -164,4 +162,4 @@ jobs:
164162
github-token: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
165163
script: |
166164
const commentOnFixedIssues = (await import('${{ github.workspace }}/.github/actions/commentOnFixedIssues.mjs')).default;
167-
await commentOnFixedIssues({ github, context });
165+
await commentOnFixedIssues({ github, context });

0 commit comments

Comments
 (0)