Skip to content

Commit

Permalink
ci: Fix publishing snapshots (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotradamczyk5 authored Mar 11, 2021
1 parent 8ea5f6b commit 005cf63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
flankScripts github delete_release --git-tag=$RELEASE_TAG
- name: Delete old tag
if: ${{ env.RELEASE_TAG == 'flank_snapshot' }}
if: ${{ env.RELEASE_TAG == 'flank-snapshot' }}
run: flankScripts github delete_old_tag --git-tag=$RELEASE_TAG --username=$GITHUB_ACTOR --token=${{ secrets.GITHUB_TOKEN }}

- name: Release snapshot
if: ${{ env.RELEASE_TAG == 'flank_snapshot' }}
if: ${{ env.RELEASE_TAG == 'flank-snapshot' }}
run: flankScripts github make_release --input-file=./test_runner/build/libs/flank.jar --git-tag=$RELEASE_TAG --commit-hash=$GIT_SHORT_HASH --snapshot

- name: Release stable
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: Flank/flank_slack_notifier@master
if: startsWith(github.ref, 'refs/tags/v')
with:
xoxctoken: ${{ secrets.SLACK_XOXCTOKEN }}
message: Flank ${{ env.RELEASE_TAG }} has been released. View more information <http://github.com/Flank/flank/releases/tag/${{ env.RELEASE_TAG }}| here!>
channel: ${{ secrets.SLACK_CHANNEL}}
cookie: ${{ secrets.SLACK_COOKIE}}
xoxctoken: ${{ secrets.SLACK_XOXCTOKEN }}
message: Flank ${{ env.RELEASE_TAG }} has been released. View more information <http://github.com/Flank/flank/releases/tag/${{ env.RELEASE_TAG }}| here!>
channel: ${{ secrets.SLACK_CHANNEL}}
cookie: ${{ secrets.SLACK_COOKIE}}

0 comments on commit 005cf63

Please sign in to comment.