Skip to content

Commit

Permalink
ci: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Amman Vedi authored and Amman Vedi committed Nov 10, 2023
1 parent eb8dd4d commit 2ecb052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
version:
description: "<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease"
description: "major | minor | patch | premajor | preminor | prepatch | prerelease"
required: true
jobs:
Release-To-NPM:
Expand All @@ -25,7 +25,7 @@ jobs:
git config --global user.name 'Release Workflow'
git config --global user.email 'release-workflow@users.noreply.github.com'
echo "Incrementing version"
yarn version ${{ github.event.inputs.version }}
yarn version --${{ github.event.inputs.version }}
echo "Pushing Version Change"
git push --follow-tags
echo "Publishing to NPM"
Expand Down

0 comments on commit 2ecb052

Please sign in to comment.