Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ttbadr committed Apr 4, 2024
1 parent 919a9f1 commit 31f7eaa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release
on:
push:
branches:
- master
- cms

jobs:
build:
Expand All @@ -28,9 +28,10 @@ jobs:
run: zip k9s.zip execs/*;echo "VERSION=$(make -s version)" >> $GITHUB_OUTPUT

- name: Release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: true
tag: ${{ steps.version.outputs.VERSION }}
tag: "${GITHUB_REF#refs/heads/}-${{ steps.version.outputs.VERSION }}"
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: k9s.zip
body: "release for ${GITHUB_REF#refs/heads/} ${{ steps.version.outputs.VERSION }}"

0 comments on commit 31f7eaa

Please sign in to comment.