From 4aa6bef6a374ebba0bddf36bc1c4ddb14bb07373 Mon Sep 17 00:00:00 2001 From: Jim McDonald Date: Sun, 28 Aug 2022 21:28:54 +0100 Subject: [PATCH] Update release. --- .github/workflows/release.yml | 12 ++++++------ cmd/version.go | 2 +- go.mod | 1 - go.sum | 5 +---- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a014c49..f114fbd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: push: tags: - 'v*' + - 't*' jobs: build: @@ -12,10 +13,9 @@ jobs: steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.17 - id: go + go-version: 1.17 - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -36,9 +36,9 @@ jobs: echo "RELEASE_TAG=${RELEASE_TAG}" >> $GITHUB_ENV echo "::set-output name=RELEASE_TAG::${RELEASE_TAG}" # Ensure the release tag has expected format. - echo ${RELEASE_TAG} | grep -q '^v' || exit 1 + echo ${RELEASE_TAG} | grep -q '^[vt]' || exit 1 # Release version is same as release tag without leading 'v'. - RELEASE_VERSION=$(echo ${GITHUB_REF} | sed -e 's!.*/v!!') + RELEASE_VERSION=$(echo ${GITHUB_REF} | sed -e 's!.*/[vt]!!') echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV echo "::set-output name=RELEASE_VERSION::${RELEASE_VERSION}" @@ -50,7 +50,7 @@ jobs: - name: Fetch xgo run: | - go install github.com/crazy-max/xgo@v0.14.0 + go install github.com/wealdtech/xgo@latest - name: Cross-compile linux run: | diff --git a/cmd/version.go b/cmd/version.go index 44789ef..e81a246 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -24,7 +24,7 @@ import ( // ReleaseVersion is the release version of the codebase. // Usually overridden by tag names when building binaries. -var ReleaseVersion = "local build (latest release 1.25.2)" +var ReleaseVersion = "local build (latest release 1.25.3)" // versionCmd represents the version command var versionCmd = &cobra.Command{ diff --git a/go.mod b/go.mod index 7356586..4bebb8d 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/gofrs/uuid v4.2.0+incompatible github.com/google/uuid v1.3.0 github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b - github.com/hashicorp/hcl v1.0.1-vault-3 // indirect github.com/herumi/bls-eth-go-binary v0.0.0-20220103074059-01b0ca9e9ef7 github.com/jackc/puddle v1.2.1 // indirect github.com/minio/highwayhash v1.0.2 // indirect diff --git a/go.sum b/go.sum index f075e4c..f93344d 100644 --- a/go.sum +++ b/go.sum @@ -304,9 +304,8 @@ github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl v1.0.1-vault-3 h1:V95v5KSTu6DB5huDSKiq4uAfILEuNigK/+qPET6H/Mg= -github.com/hashicorp/hcl v1.0.1-vault-3/go.mod h1:XYhtn6ijBSAj6n4YqAaf7RBPS4I06AItNorpy+MoQNM= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= @@ -586,8 +585,6 @@ github.com/wealdtech/go-eth2-wallet-types/v2 v2.9.0/go.mod h1:7Ad2xp27vOQRQWQsIe github.com/wealdtech/go-indexer v1.0.0 h1:/S4rfWQbSOnnYmwnvuTVatDibZ8o1s9bmTCHO16XINg= github.com/wealdtech/go-indexer v1.0.0/go.mod h1:u1cjsbsOXsm5jzJDyLmZY7GsrdX8KYXKBXkZcAmk3Zg= github.com/wealdtech/go-majordomo v1.0.1/go.mod h1:QoT4S1nUQwdQK19+CfepDwV+Yr7cc3dbF+6JFdQnIqY= -github.com/wealdtech/go-string2eth v1.1.0 h1:USJQmysUrBYYmZs7d45pMb90hRSyEwizP7lZaOZLDAw= -github.com/wealdtech/go-string2eth v1.1.0/go.mod h1:RUzsLjJtbZaJ/3UKn9kY19a/vCCUHtEWoUW3uiK6yGU= github.com/wealdtech/go-string2eth v1.2.0 h1:C0E5p78tecZTsGccJc9r/kreFah4EfDs5uUPnS6XXMs= github.com/wealdtech/go-string2eth v1.2.0/go.mod h1:RUzsLjJtbZaJ/3UKn9kY19a/vCCUHtEWoUW3uiK6yGU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=