summaryrefslogtreecommitdiff
path: root/.github/workflows/release-please.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-please.yml')
-rw-r--r--.github/workflows/release-please.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
index 9df1e85e..13c10118 100644
--- a/.github/workflows/release-please.yml
+++ b/.github/workflows/release-please.yml
@@ -125,15 +125,14 @@ jobs:
- name: Upload release assets
run: |
cd bin
- assets=(checksums-${TAG_NAME}_sha256.txt checksums-${TAG_NAME}_sha512.txt)
+
+ assets="checksums-${TAG_NAME}_sha256.txt checksums-${TAG_NAME}_sha512.txt"
for f in gomplate_*; do
- assets=($assets ${f})
+ assets="$assets ${f}"
done
- for f in ${assets[@]}; do
- echo "uploading $f"
- gh release upload ${TAG_NAME} $f
- done
+ echo "uploading assets: $assets"
+ gh release upload ${TAG_NAME} $assets --clobber
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Publish GitHub Release