Skip to content

Commit

Permalink
fix: i sure know how to bash;
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiphe committed Sep 6, 2022
1 parent 80b6544 commit 012262f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ runs:
run: |
cd ${{ inputs.directory }}
if [ "${{inputs.add_config}}" == "true" ]; then
if [ "${{inputs.add_config}}" = true ]; then
cp ${{ github.action_path }}release.config.template.js ./release.config.js
fi
if [ "${{github.event_name}}" == "push" ]; then
if [ "${{github.event_name}}" = "push" ]; then
npx semantic-release@19
fi
if [ "${{github.event_name}}" == "pull_request" && "${{inputs.pre_release}}" == "true" ]; then
if [ "${{github.event_name}}" = "pull_request" ] && [ "${{inputs.pre_release}}" = true ]; then
npm i decorate-gh-pr -D &&
npx semantish-prerelease@4 --release-pr
fi

0 comments on commit 012262f

Please sign in to comment.