Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
Specify asset_name, extra_files, remove manual trigger (missing tag name doesn't work)
  • Loading branch information
lrettig authored Apr 6, 2023
1 parent 80304a8 commit c222e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build and Release
on:
release:
types: [created]
workflow_dispatch:

jobs:
releases-matrix:
Expand All @@ -25,4 +24,5 @@ jobs:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: sm
#asset_name: "smcli-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}"
asset_name: "smcli-${{ github.event.release.tag_name }}-${{ matrix.goos }}-${{ matrix.goarch }}"
extra_files: LICENSE README.md

0 comments on commit c222e46

Please sign in to comment.