Skip to content

Commit

Permalink
also making a github release when tagging main
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar Oostendorp committed Dec 19, 2023
1 parent bb4fa94 commit 376ef25
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
buildImage:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
steps:
- name: Checkout repository
Expand Down Expand Up @@ -52,6 +52,13 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Create GitHub Release
env:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
TAG=${{ github.ref }}
VERSION=${TAG#refs/tags/}
gh release create $VERSION -t $VERSION -n "Release notes for $VERSION"
# helmTest:
# runs-on: ubuntu-latest
# steps:
Expand Down

0 comments on commit 376ef25

Please sign in to comment.