Skip to content

ci: add goreleaser#5527

Merged
tac0turtle merged 17 commits intomasterfrom
marko/go_releaser
Oct 27, 2020
Merged

ci: add goreleaser#5527
tac0turtle merged 17 commits intomasterfrom
marko/go_releaser

Conversation

@tac0turtle
Copy link
Copy Markdown
Contributor

@tac0turtle tac0turtle commented Oct 19, 2020

Description

  • remove scripts that handle releases
  • add in go releaser to build and populate the release page

Closes: #XXX

examples: https://github.com/marbar3778/tendermint/releases

Opening this PR for review to receive feedback on the open questions.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 19, 2020

Codecov Report

Merging #5527 into master will decrease coverage by 2.49%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5527      +/-   ##
==========================================
- Coverage   63.48%   60.98%   -2.50%     
==========================================
  Files         194      263      +69     
  Lines       16167    23751    +7584     
==========================================
+ Hits        10263    14484    +4221     
- Misses       4801     7788    +2987     
- Partials     1103     1479     +376     
Impacted Files Coverage Δ
cmd/tendermint/commands/version.go 0.00% <0.00%> (ø)
privval/signer_server.go 89.47% <0.00%> (-5.27%) ⬇️
types/tx.go 82.97% <0.00%> (-4.26%) ⬇️
privval/signer_endpoint.go 72.72% <0.00%> (-3.04%) ⬇️
p2p/pex/pex_reactor.go 78.86% <0.00%> (-1.49%) ⬇️
mempool/reactor.go 86.36% <0.00%> (ø)
proxy/multi_app_conn.go 48.64% <0.00%> (ø)
crypto/crypto.go 0.00% <0.00%> (ø)
abci/types/util.go 0.00% <0.00%> (ø)
behaviour/peer_behaviour.go 75.00% <0.00%> (ø)
... and 69 more

Comment thread version/version.go Outdated
@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 19, 2020

This pull request fixes 10 alerts when merging 175c3fc into a5d3e19 - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 19, 2020

This pull request fixes 10 alerts when merging c348326 into 6e16df8 - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

Comment thread .github/workflows/release.yml Outdated
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --release-notes=release_notes.md
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I am adding a markdown file that can contain any info we would like to relay about the release. Any data placed in here will be put into the body of the release. If we would like to have the same message each time, like we do now, this will not be required.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we continue to link to the changelog? (Also, I think the message is maybe not exactly the same every time - technically it links to the specific link in the changelog?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, just need to work out how to create the needed link. getting odd dirty git errors with the approaches I have tried.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have it appearing like so: https://github.com/marbar3778/tendermint/releases/tag/v1.4.7. Our naming template will be 1.4.7 (WARNING: BETA SOFTWARE)

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 19, 2020

This pull request fixes 10 alerts when merging 9a2934b into 6e16df8 - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

@tac0turtle tac0turtle marked this pull request as ready for review October 19, 2020 15:52
@tac0turtle tac0turtle requested a review from alessio October 19, 2020 15:52
Copy link
Copy Markdown
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing 💯 love it

Comment thread .goreleaser.yml Outdated
@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 20, 2020

This pull request fixes 10 alerts when merging f30d488 into 9e6248c - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

Copy link
Copy Markdown
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very excited for this!

Comment thread .github/workflows/release.yml
Comment thread .goreleaser.yml Outdated
Comment thread version/version.go Outdated
Comment thread scripts/release_management/sha-files.py
@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 20, 2020

This pull request fixes 10 alerts when merging 7599add into 9e6248c - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

Comment thread .github/workflows/release.yml Outdated
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --release-notes=release_notes.md
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we continue to link to the changelog? (Also, I think the message is maybe not exactly the same every time - technically it links to the specific link in the changelog?)

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md
@@ -261,8 +261,11 @@ Each PR should have one commit once it lands on `master`; this can be accomplish
- Bump P2P and block protocol versions in `version.go`, if necessary
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One line up, but do we still need to bump the Tendermint version in version.go? Where (if anywhere) do we need to specify the new version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new version is picked up via git describe. No need to specify it anymore, but we still need to bump the other versions.

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 20, 2020

This pull request fixes 10 alerts when merging 8c7af97 into 9e6248c - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 22, 2020

This pull request fixes 10 alerts when merging 8264bb8 into d4f9066 - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 22, 2020

This pull request fixes 10 alerts when merging f1ca010 into d4f9066 - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Oct 27, 2020

This pull request fixes 10 alerts when merging ca6e229 into 38587d8 - view on LGTM.com

fixed alerts:

  • 7 for Illegal raise
  • 3 for Unused import

@tac0turtle tac0turtle merged commit d0db59e into master Oct 27, 2020
@tac0turtle tac0turtle deleted the marko/go_releaser branch October 27, 2020 12:54
tac0turtle added a commit that referenced this pull request Oct 27, 2020
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
tac0turtle added a commit that referenced this pull request Oct 28, 2020
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
tac0turtle added a commit that referenced this pull request Oct 28, 2020
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants