From c222e46ce4a37888477c86beb0d96f363a82e119 Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Thu, 6 Apr 2023 15:01:25 -0400 Subject: [PATCH] Update release workflow Specify asset_name, extra_files, remove manual trigger (missing tag name doesn't work) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81f6ebb..a417fb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,6 @@ name: Build and Release on: release: types: [created] - workflow_dispatch: jobs: releases-matrix: @@ -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