Skip to content

Commit

Permalink
Merge branch 'hotfix/release-pipeline'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasPohl committed Jan 31, 2022
2 parents cdf5f48 + 3ed02c6 commit 3dff0f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Create Release candidate
id: create_release_candidate
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref,'-RC')
if: startsWith(github.ref, 'refs/tags/')
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: true
prerelease: true
prerelease: ${{contains(github.ref,'-RC')}}
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref,'-RC')
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3dff0f9

Please sign in to comment.