Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Add tag-next-release target #2550

Merged
merged 3 commits into from
Jan 14, 2020
Merged

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Jan 14, 2020

Closes: #2458.

@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

Merging #2550 into master will decrease coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2550      +/-   ##
==========================================
- Coverage   67.04%   66.91%   -0.13%     
==========================================
  Files         328      328              
  Lines       30262    30262              
==========================================
- Hits        20289    20250      -39     
- Misses       7448     7483      +35     
- Partials     2525     2529       +4
Impacted Files Coverage Δ
go/worker/common/host/interface.go 38.46% <0%> (-15.39%) ⬇️
go/consensus/api/grpc.go 57.02% <0%> (-6.62%) ⬇️
go/worker/keymanager/worker.go 58.85% <0%> (-3.61%) ⬇️
go/consensus/tendermint/tendermint.go 64.08% <0%> (-1.73%) ⬇️
go/worker/registration/worker.go 65.51% <0%> (-1.57%) ⬇️
go/worker/common/committee/group.go 80.29% <0%> (-0.75%) ⬇️
go/roothash/tests/tester.go 95.49% <0%> (-0.65%) ⬇️
go/worker/common/p2p/p2p.go 64.41% <0%> (-0.46%) ⬇️
go/worker/common/host/sandboxed.go 70.91% <0%> (-0.4%) ⬇️
go/worker/merge/committee/node.go 75.42% <0%> (-0.25%) ⬇️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5df3bd...63f7cb9. Read the comment docs.

@@ -1 +0,0 @@
runtime: Extract common sealing code.
Copy link
Member

Choose a reason for hiding this comment

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

Was this forgotten? How did that happen?

Copy link
Member Author

Choose a reason for hiding this comment

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

So, I ran make changelog on the master branch before #2537 was merged and submitted the Change Log for 20.0 PR (#2540).
Since #2537 was merged before the Change Log PR and I saw that the change was trivial, i.e. it didn't impact the Change Log, I just rebased my PR on top of it. But this then didn't delete the 2537.trivial.md fragment 🙂.

tag-next-release:
@$(ENSURE_NEXT_VERSION)
@$(ECHO_STDERR) "Checking if we can tag version $(NEXT_VERSION) as the next release..."
@$(ENSURE_NO_CHANGELOG_FRAGMENTS)
Copy link
Member

Choose a reason for hiding this comment

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

Ah probably it was due to this missing check :-)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this check will ensure this can't happen in the future 🙂.

It was mistakenly left in when preparing the Change Log for release
20.0: #2540.
Add a bunch of helpers to common.mk to allow re-use.

Refactor changelog target to use the new helpers.
This should make it easier to test the release tooling without affecting
the real releases.
@tjanez tjanez force-pushed the tjanez/make-tag-next-release branch from b1cd0a3 to 63f7cb9 Compare January 14, 2020 17:04
@tjanez tjanez merged commit f059460 into master Jan 14, 2020
@tjanez tjanez deleted the tjanez/make-tag-next-release branch January 14, 2020 17:23
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.

Use a versioned git tag for each release of Oasis Core
2 participants