make dist for creating binaries and packaging them for distribution#378
make dist for creating binaries and packaging them for distribution#378ebuchman merged 4 commits intotendermint:developfrom
make dist for creating binaries and packaging them for distribution#378Conversation
- mute most of the commands - replace github.com/tendermint/tendermint with just "." - introduce PACKAGES variable - delete unused NEWLINE
| package version | ||
|
|
||
| const Maj = "0" | ||
| const Min = "8" // validator set changes, tmsp->abci, app persistence/recovery, BFT-liveness fix |
There was a problem hiding this comment.
Is this the best place for such comments? maybe we should create CHANGELOG.md instead?
There was a problem hiding this comment.
I've been keeping the changelog in the release notes on github for every release. Not opposed to also adding them all into a CHANGELOG.md. the comment here is just a rough reference if you're cruising by
|
I just saw this issue. Yes, I love the idea! Re outstanding points 1 and 2. I think the gpg signing should happen outside of the
The other question... can we check all of them behave properly to a basic test? I know there are some issues with cgo when cross-compiling, maybe you dealt with that, maybe it is not an issue,but it would be nice to have an integration test. Also, that is some crazy shell scripting skills. Props! |
or we can have a flag (
interesting question! for now, I just disabled cgo (do we have C libraries?) 👿 I have a second laptop with Linux, so I will definitely check that |
|
I think this command would be used more often without signing than with signing. At least pre-1.0. If I want to deploy a develop version onto my testnet, I would like to Either way is fine actually. Just aesthetics. I would also like to add a similar |
hm.. we have |
|
Okay, then |
* build(deps): bump docker/login-action from 1.10.0 to 1.11.0 Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v1.10.0...v1.11.0) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Run the omnibus linter always. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
…mint#380) * ci: Remove Buf tokens from workflow (tendermint#378) * ci: Remove Buf tokens from workflow Signed-off-by: Thane Thomson <connect@thanethomson.com> * Format proto folder readme to trigger workflow Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit 126f190) # Conflicts: # proto/README.md * Fix conflict in proto readme Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> Co-authored-by: Thane Thomson <connect@thanethomson.com>
* ci: Remove Buf tokens from workflow Signed-off-by: Thane Thomson <connect@thanethomson.com> * Format proto folder readme to trigger workflow Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com>
* ci: Remove Buf tokens from workflow Signed-off-by: Thane Thomson <connect@thanethomson.com> * Format proto folder readme to trigger workflow Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit 126f190) Co-authored-by: Thane Thomson <connect@thanethomson.com>
Preface: if we want to engage more people (not just hardcore devs), I believe we must provide statically compiled binaries for each release. Besides, this could be easily done with Golang.
Story: as a dev, if I just want to try Tendermint (or I am planning to write my app in Java), I don't want to install Golang, I just want
brew install tendermintor similar (btw, what do you think about adding Tendermint tobrew).This will fix many issues (https://tendermint.com/intro/getting-started/install):
Usage
will create binaries for almost all platforms and will package them for distribution. It will also create a tag (e.g. "v0.8.0").
If you've already created a tag, set
NOTAGenv variable to true:RELEASE could be set explicitly via env variable. Otherwise, the script will try to fetch it from
version/version.goBroken builds
Our code currently does not compile for freebsd/amd64:
and solaris/amd64:
Example output
What could be done
Inspiration: https://www.hashicorp.com/security.html