Skip to content

Commit

Permalink
Adding job to auto cut releases (#141)
Browse files Browse the repository at this point in the history
adding job to auto cut releases

Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
Signed-off-by: John Kjell <john@testifysec.com>
  • Loading branch information
ChaosInTheCRD authored and jkjell committed Feb 5, 2024
1 parent 856b500 commit 315793e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,13 @@ jobs:
command: go test -v -coverprofile=profile.cov -covermode=atomic ./...
artifact-upload-name: profile.cov
artifact-upload-path: profile.cov

release:
needs: [fmt, sast, unit-tests]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Release
uses: softprops/action-gh-release@v1

0 comments on commit 315793e

Please sign in to comment.