Skip to content

Commit

Permalink
Fix broken gh release, update Go
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremija committed Feb 19, 2024
1 parent 32102d7 commit 2bc9d05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- lint
strategy:
matrix:
go-version: ["1.19.5"]
go-version: ["1.21.6"]
services:
redis:
# Docker Hub image
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- go
strategy:
matrix:
go-version: ["1.18.4"]
go-version: ["1.21.6"]
steps:
- name: Use Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
Expand Down Expand Up @@ -105,13 +105,13 @@ jobs:
for asset in ./*; do
archive=$asset.$git_describe.tar.gz
tar czvf $archive $asset
assets+=("-a" "$archive")
assets+=("$archive")
done
args=()
if [[ $git_describe =~ alpha|beta ]]; then
args+=("--prerelease")
fi
hub release create "${args[@]}" "${assets[@]}" -t $GITHUB_SHA -m "PeerCalls $git_describe" "$git_describe"
gh release create "${args[@]}" --target $GITHUB_SHA --generate-notes --title "PeerCalls $git_describe" "${assets[@]}"
docker:
runs-on: ubuntu-latest
needs:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/peer-calls/peer-calls/v4

go 1.19
go 1.21

require (
github.com/go-chi/chi v4.0.3+incompatible
Expand Down

0 comments on commit 2bc9d05

Please sign in to comment.