From 9aa0f937565aa89eb8f56e45217a7481dc927b79 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 20 Jun 2024 10:35:31 +1000 Subject: [PATCH 1/2] fix: release: update goreleaser config file Fixes: https://github.com/filecoin-project/lotus/issues/12120 --- .goreleaser.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index bf620071457..7b94168c612 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,7 @@ +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json + +version: 2 + project_name: lotus universal_binaries: @@ -79,7 +83,7 @@ release: name_template: "v{{.Version}}" brews: - - tap: + - repository: owner: filecoin-project name: homebrew-lotus branch: master @@ -93,7 +97,7 @@ brews: system "#{bin}/lotus --version" system "#{bin}/lotus-miner --version" system "#{bin}/lotus-worker --version" - folder: Formula + directory: Formula homepage: "https://filecoin.io" description: "A homebrew cask for installing filecoin-project/lotus on MacOS" license: MIT From ac959732789975c9210f116af9667821165940db Mon Sep 17 00:00:00 2001 From: Jennifer Wang Date: Thu, 20 Jun 2024 09:45:02 -0400 Subject: [PATCH 2/2] fix go releaser and test with rc3 --- CHANGELOG.md | 5 +++-- build/openrpc/full.json | 2 +- build/openrpc/gateway.json | 2 +- build/openrpc/miner.json | 2 +- build/openrpc/worker.json | 2 +- build/version.go | 4 ++-- documentation/en/cli-lotus-miner.md | 2 +- documentation/en/cli-lotus-worker.md | 2 +- documentation/en/cli-lotus.md | 2 +- 9 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1dd98ebde0..48027618165 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,9 @@ ## Improvements -# v1.27.1-rc2 / 2024-06-17 +# v1.27.1-rc2 / 2024-06-20 -This is the second release candidate of the upcoming optional release of Lotus v1.27.1 +This is the third release candidate of the upcoming optional release of Lotus v1.27.1 ## ☢️ Upgrade Warnings ☢️ @@ -131,6 +131,7 @@ There is no change in the behaviour when a call returns an error, as the error o - chore: Remove forgotten graphsync references ([filecoin-project/lotus#12084](https://github.com/filecoin-project/lotus/pull/12084)) - chore: types: remove more items forgotten after markets ([filecoin-project/lotus#12095](https://github.com/filecoin-project/lotus/pull/12095)) - chore: api: the Net API/CLI now remains only on daemon ([filecoin-project/lotus#12100](https://github.com/filecoin-project/lotus/pull/12100)) +- fix: release: update goreleaser config filei #12120 ## Contributors diff --git a/build/openrpc/full.json b/build/openrpc/full.json index 3c0931647cf..6b95b64875b 100644 --- a/build/openrpc/full.json +++ b/build/openrpc/full.json @@ -2,7 +2,7 @@ "openrpc": "1.2.6", "info": { "title": "Lotus RPC API", - "version": "1.27.1-rc2" + "version": "1.27.1-rc3" }, "methods": [ { diff --git a/build/openrpc/gateway.json b/build/openrpc/gateway.json index bbd7f4b6bc1..9db28d0a19b 100644 --- a/build/openrpc/gateway.json +++ b/build/openrpc/gateway.json @@ -2,7 +2,7 @@ "openrpc": "1.2.6", "info": { "title": "Lotus RPC API", - "version": "1.27.1-rc2" + "version": "1.27.1-rc3" }, "methods": [ { diff --git a/build/openrpc/miner.json b/build/openrpc/miner.json index 77259c3e94f..aa0f9f90b17 100644 --- a/build/openrpc/miner.json +++ b/build/openrpc/miner.json @@ -2,7 +2,7 @@ "openrpc": "1.2.6", "info": { "title": "Lotus RPC API", - "version": "1.27.1-rc2" + "version": "1.27.1-rc3" }, "methods": [ { diff --git a/build/openrpc/worker.json b/build/openrpc/worker.json index 201dec42c20..0e50cf64085 100644 --- a/build/openrpc/worker.json +++ b/build/openrpc/worker.json @@ -2,7 +2,7 @@ "openrpc": "1.2.6", "info": { "title": "Lotus RPC API", - "version": "1.27.1-rc2" + "version": "1.27.1-rc3" }, "methods": [ { diff --git a/build/version.go b/build/version.go index b4271e6e5c1..f31c5edd338 100644 --- a/build/version.go +++ b/build/version.go @@ -39,7 +39,7 @@ func BuildTypeString() string { } // NodeBuildVersion is the local build version of the Lotus daemon -const NodeBuildVersion string = "1.27.1-rc2" +const NodeBuildVersion string = "1.27.1-rc3" func NodeUserVersion() BuildVersion { if os.Getenv("LOTUS_VERSION_IGNORE_COMMIT") == "1" { @@ -50,7 +50,7 @@ func NodeUserVersion() BuildVersion { } // MinerBuildVersion is the local build version of the Lotus miner -const MinerBuildVersion = "1.27.1-rc2" +const MinerBuildVersion = "1.27.1-rc3" func MinerUserVersion() BuildVersion { if os.Getenv("LOTUS_VERSION_IGNORE_COMMIT") == "1" { diff --git a/documentation/en/cli-lotus-miner.md b/documentation/en/cli-lotus-miner.md index db536a4dd05..28c83819fcb 100644 --- a/documentation/en/cli-lotus-miner.md +++ b/documentation/en/cli-lotus-miner.md @@ -7,7 +7,7 @@ USAGE: lotus-miner [global options] command [command options] [arguments...] VERSION: - 1.27.1-rc2 + 1.27.1-rc3 COMMANDS: init Initialize a lotus miner repo diff --git a/documentation/en/cli-lotus-worker.md b/documentation/en/cli-lotus-worker.md index 6bc4ef6fa1c..b0ff13420ae 100644 --- a/documentation/en/cli-lotus-worker.md +++ b/documentation/en/cli-lotus-worker.md @@ -7,7 +7,7 @@ USAGE: lotus-worker [global options] command [command options] [arguments...] VERSION: - 1.27.1-rc2 + 1.27.1-rc3 COMMANDS: run Start lotus worker diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 65454899afd..8ea8dc0c443 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -7,7 +7,7 @@ USAGE: lotus [global options] command [command options] [arguments...] VERSION: - 1.27.1-rc2 + 1.27.1-rc3 COMMANDS: daemon Start a lotus daemon process