Skip to content

Commit

Permalink
chore: update manual releases GH action (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 authored Jan 11, 2024
1 parent 424bee4 commit c8c0b70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit c8c0b70

Please sign in to comment.