Skip to content

Commit

Permalink
Reworked conditional expression
Browse files Browse the repository at this point in the history
  • Loading branch information
frzb committed Apr 2, 2022
1 parent 4057cb5 commit 577d1fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_and_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

- name: Create release on main or develop
# Release on develop keeps the type pre-release
if: github.ref == ( 'refs/heads/main' || 'refs/heads/develop' )
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
env:
GITHUB_USER: "frzb"
GITHUB_REPO: "coinboot"
Expand All @@ -114,7 +114,6 @@ jobs:
git pull --tags origin
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
git tag -d $PRE_RELEASE_TAG
git tag $RELEASE_TAG
git remote rm origin
git remote add origin https://"${GITHUB_TOKEN}"@github.com/"${GITHUB_USER}"/"${GITHUB_REPO}".git
Expand Down

0 comments on commit 577d1fe

Please sign in to comment.