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

ci: Add some automation for making releases #969

Merged
merged 5 commits into from
Aug 31, 2021

Conversation

paulgessinger
Copy link
Member

With this PR, there's one action that runs on any PR that targets branches releases or release/*, and will make a trial run of the changelog generation and version bumping. This only works on PRs on the main repo, for permission reasons.

A second action will automatically run on branches releases or release/*, generate the changelog, execute the version bump, and finally create a GitHub release with the generated changelog and version number. This release can be manually published, and when that happens, a git tag is created on the bump commit.

I've tested all this over on https://github.com/paulgessinger/release-test but I don't think it's bulletproof. I'd like to run this for a bit and see if it does the job. There is the possibility for manual intervention before anything (kind of) irreversible happens, so that should be fine.

@paulgessinger paulgessinger added this to the next milestone Aug 30, 2021
@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #969 (95440ed) into main (8236d1f) will not change coverage.
The diff coverage is n/a.

❗ Current head 95440ed differs from pull request most recent head fc99d2b. Consider uploading reports for the commit fc99d2b to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #969   +/-   ##
=======================================
  Coverage   48.48%   48.48%           
=======================================
  Files         334      334           
  Lines       17091    17091           
  Branches     8081     8081           
=======================================
  Hits         8287     8287           
  Misses       3099     3099           
  Partials     5705     5705           

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 8236d1f...fc99d2b. Read the comment docs.

Copy link
Contributor

@HadrienG2 HadrienG2 left a comment

Choose a reason for hiding this comment

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

My python is too rusty to make sense of everything, but looks reasonable from a general look around.

.github/workflows/release.yml Outdated Show resolved Hide resolved
CI/release.py Show resolved Hide resolved
CI/release.py Outdated Show resolved Hide resolved
CI/release.py Outdated Show resolved Hide resolved
@paulgessinger paulgessinger merged commit fbfbd42 into acts-project:main Aug 31, 2021
@paulgessinger paulgessinger deleted the release-action branch August 31, 2021 11:50
@paulgessinger paulgessinger modified the milestones: next, v13.0.0 Sep 21, 2021
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.

None yet

2 participants