Commit Graph

112 Commits

Author SHA1 Message Date
Ian Davis
8586ea5d78 Use new workspace name in build script 2022-11-18 12:01:11 -05:00
Ian Davis
7f1b4dc438 Use goreleaser to build universal darwin binaries
This is a small refactor of our workflow to test out goreleaser, a yaml
based tool for building, packaging, and releasing go binaries on
multiple platforms. It supports building binaries for to most of the platforms we
care about, including linux and  macos, and also supports publishing
those binaries automatically as releases in Github, homebrew, snap, and
even apt / deb.

If this trial goes well, I think we should eventually replace the entire
release workflow with goreleaser. For now, this test is more tightly
scoped to only automated the MacOS release process, since that is the
one we have the most issues with. This PRi / commit:
- Builds darwin-amd64 and darwin-arm64 binaries of lotus, lotus-miner,
  and lotus-worker
- Packages them into a universal darwin binary
- Publishes those to a release in Github based on the current tag
- Uses the binaries in the release to auto-publish and updated homebrew
  configuration to filecoin-project/homebrew-lotus
- Does a `dry-run` build to produce a snapshot on release branches with
  no tag
- Manually generate and upload checksums after goreleaser
2022-07-28 20:37:42 -07:00
Ian Davis
9762da5af5 Forgot a .sh on the end of the script 2022-07-27 08:39:11 -07:00
Ian Davis
04f7067034 Removed unused array 2022-07-24 22:20:35 -07:00
Ian Davis
8a41a6bb5b Fix snap publishing flow, publish assets independently 2022-07-24 22:16:16 -07:00
Łukasz Magiera
a7b695eac3 fiximports: Don't leave backup files on osx 2022-06-14 18:31:33 +02:00
Łukasz Magiera
d929d7104f fiximports script 2022-06-14 17:00:18 +02:00
Cory Schwartz
c715254d54 Revert "stop publishing appimagine since its disabled by #7707"
This reverts commit 6b0868089b.
2022-04-05 17:26:44 -07:00
Cory Schwartz
d1f3ab5dec Revert "remove from the bundlde"
This reverts commit 7d65a2664d.
2022-04-05 17:26:39 -07:00
Cory Schwartz
a3458213f4 Merge branch 'master' into digitalocean-use-snap 2022-01-18 17:02:41 -08:00
Jennifer Wang
7d65a2664d remove from the bundlde 2022-01-05 19:27:00 -05:00
Jennifer Wang
6b0868089b stop publishing appimagine since its disabled by #7707 2022-01-04 17:57:57 -05:00
Cory Schwartz
d42f7e4a1c packer snap 2021-12-17 17:06:32 -08:00
Jiaying Wang
01215b7d2c
Merge pull request #7709 from filecoin-project/logic-error-miner-entrypoint
fix logic error
2021-11-29 18:16:58 -05:00
Cory Schwartz
27efbc3485 fix logic error 2021-11-29 13:52:06 -08:00
Łukasz Magiera
3b1d86b750
Merge pull request #7690 from filecoin-project/misc/updage-archive-script
Update archive script
2021-11-26 13:47:40 +01:00
Jakub Sztandera
ca230bba09
Add releases to protected
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-11-25 20:19:20 +01:00
Jakub Sztandera
a26a2160ae
Fix the script
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-11-25 20:14:19 +01:00
Jakub Sztandera
aafdf3d093
Update archive script
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-11-25 19:52:04 +01:00
Łukasz Magiera
699d2c7b24 docsgen-cli: Handle commands with no description correctly 2021-11-22 14:49:24 +01:00
Peter Rabbitson
cb39dd8ed0 Stop adding Jennifer's $HOME to lotus docs 2021-10-08 10:15:20 +02:00
Mike Greenberg
67864334a3 fix: escape periods to match actual periods in version 2021-09-22 15:00:59 -04:00
Mike Greenberg
90827afa47 feat(ci): include version/cli checks in tagged releases 2021-09-15 12:12:05 -04:00
KAYUII
a75d67a42c
Update docker-lotus-miner-entrypoint.sh
Missing variable escape character
2021-09-07 15:11:29 +08:00
KAYUII
4f5fa3be3c
Update docker-lotus-entrypoint.sh
Missing variable escape character
2021-09-07 15:10:43 +08:00
Łukasz Magiera
25052fe48f Remove chainwatch (now filecoin-project/sentinel) 2021-07-28 17:59:01 +02:00
Raúl Kripalani
e0522a6b1f rename cmd/lotus{-storage=>}-miner to match binary. 2021-07-27 11:54:46 +01:00
Cory Schwartz
d3ff5a2a4f Merge tag 'v1.11.0-rc1' into feat/docker-compose 2021-06-30 15:40:54 -07:00
Łukasz Magiera
c3480dc0e8 Merge remote-tracking branch 'origin/releases' into chore/merge-release 2021-06-24 09:39:11 +02:00
Steven Allen
1411cff69e change mkreleaselog script to only include filecoin-project 2021-06-23 19:03:24 -07:00
Steven Allen
63626e1d0a feat(scripts): add the mkreleaselog script 2021-06-23 15:02:23 -07:00
Cory Schwartz
accb03719a address some comments 2021-06-22 08:59:43 -07:00
Cory Schwartz
02f4182749 add docker-compose file 2021-06-21 12:48:07 -07:00
Cory Schwartz
ad8b6baa03 bring appimage to v1.10.0-rc3 2021-06-15 11:58:59 -07:00
Cory Schwartz
8b2b488d17 remove temporary edits 2021-06-03 10:44:48 -07:00
Cory Schwartz
92fdbd80d9 tmp: publish dry run 2021-06-03 10:18:13 -07:00
Cory Schwartz
9d3410d374 include appimage on release 2021-06-03 00:05:43 -07:00
Aloxaf
559c76a214
Fix shell completions 2021-05-24 15:00:47 +08:00
Mike Greenberg
6c8c732104 fix(ci): Use recent ubuntu LTS release; Update release params 2021-05-14 22:21:16 -04:00
Mike Greenberg
eccdff459e fix(ci): Conditional announcement and prerelease on RC tag 2021-05-14 19:16:31 -04:00
Mike Greenberg
314be51e1b fix(ci): Use recent ubuntu LTS release; Update release params 2021-05-14 14:15:08 -04:00
Aayush Rajasekaran
e5587119fe
Merge pull request #5826 from filecoin-project/asr/release-template
Introduce a release issue template
2021-05-07 13:09:35 -04:00
Łukasz Magiera
ed08366cac Run cli docsgen in CI 2021-04-29 20:01:23 +02:00
Łukasz Magiera
51ca7aa79a scripts: Some improvements to cli gen script 2021-04-29 19:44:39 +02:00
Łukasz Magiera
12867a567b Merge branch 'master' of github.com:MitchellSoo/lotus into feat/cli-doc-gen 2021-04-29 19:23:33 +02:00
Steven Allen
26d14a6262 fix: partially support v2+ go modules
This patch supports branch-based v2 modules, but not
directory-based (i.e., not vN modules with `vN/` directories).
2021-04-21 13:00:19 -07:00
Łukasz Magiera
34aa267100 Make mkreleaselog work a bit more 2021-04-13 12:20:30 +02:00
Łukasz Magiera
0bc94b554c Refer to scripts/mkreleaselog 2021-04-13 12:02:10 +02:00
Aayush Rajasekaran
e6045bba85 Introduce a release issue template 2021-04-08 01:36:04 -04:00
urugang
69bfe7b7a8 bugfix: fixup devnet script 2020-11-22 00:11:39 +08:00