Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 11, 2023
1 parent eef924e commit ccfd48b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
type: choice
description: Release type
options:
- :patch
- :minor
- patch
- minor
push:
branches:
- master
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
git config --local user.email "pouya.saadeghi@gmail.com"
git config --local user.name "Pouya Saadeghi"
npm run release${{ github.event.inputs.release-type }}
npm run release${{ github.event.inputs.release-type ? ":" + github.event.inputs.release-type : "" }}
- name: build package
run: npm run build
Expand Down

0 comments on commit ccfd48b

Please sign in to comment.