From c8c0b70c98083dcdd2af2649ad9b0355f431fed8 Mon Sep 17 00:00:00 2001 From: Mohammad Noor Abu Khleif Date: Thu, 11 Jan 2024 16:59:41 +0300 Subject: [PATCH] chore: update manual releases GH action (#164) --- .github/workflows/manual-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index bd05083..b383ab3 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -6,11 +6,11 @@ on: release-type: description: 'Type of Release' required: true - default: 'patch' + type: choice options: - - 'major' - - 'minor' - - 'patch' + - 'major' + - 'minor' + - 'patch' jobs: release: @@ -37,7 +37,7 @@ jobs: run: npm run build && cd dist && ls -la - name: Run manual release - run: cd dist && npx semantic-release -- --no-ci --release-as ${{ github.event.inputs.release-type }} + run: cd dist && npx semantic-release --no-ci --release-as ${{ github.event.inputs.release-type }} env: GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}