Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jan 2, 2023
1 parent 12bb86b commit e5929b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- run: echo "flags=--snapshot" >> $GITHUB_ENV
- if: startsWith(github.ref, 'refs/tags/v')
run: echo "flags=" >> $GITHUB_ENV
- if: ${{ env.flags }} == ""
run: echo "flags=--snapshot" >> $GITHUB_ENV
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down

0 comments on commit e5929b2

Please sign in to comment.