Skip to content

Commit

Permalink
Merge pull request #25 from kyma-project/fix-release-workflow
Browse files Browse the repository at this point in the history
Fix release workflow
  • Loading branch information
rrashidov authored Jul 18, 2024
2 parents 13b1a4a + 36fc2d4 commit ae4db2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,23 @@ jobs:
- name: Create draft release
env:
VERSION: ${{ steps.version.outputs.version }}
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
shell: bash
run: |
gh release create "${VERSION}" --draft --notes-file RELEASE.md
- name: Publish Release
env:
VERSION: ${{ steps.version.outputs.version }}
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
shell: bash
run: |
gh release edit "${VERSION}" --draft=false --latest
- name: Upload release artifacts
env:
VERSION: ${{ steps.version.outputs.version }}
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
shell: bash
run: |
gh release upload "${VERSION}" "./release-${VERSION}/cfapi-default-cr.yaml"
Expand Down

0 comments on commit ae4db2b

Please sign in to comment.