summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release-please.yml11
-rw-r--r--go.mod2
2 files changed, 6 insertions, 7 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
diff --git a/go.mod b/go.mod
index 463f6457..73fa39ec 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/hairyhenderson/gomplate/v4
-go 1.22.4
+go 1.22.5
require (
cuelang.org/go v0.9.2