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

Script for creating GH release #6504

Merged
merged 2 commits into from
Sep 28, 2022
Merged

Script for creating GH release #6504

merged 2 commits into from
Sep 28, 2022

Conversation

philippotto
Copy link
Member

The script can be called with python3 tools/create-gh-release.py which will then:

  • extract the newest release notes from CHANGELOG.released.md
  • format the notes with the header like we did it before manually for GH releases
  • create a GH release with the CLI tool gh

We could also plug this into a GH action, but since there are manual steps involved in the releases anyway (e.g., curating the "Highlights"), I don't have any problems with manually starting this script. It's still a big improvement to manually fiddling the release notes together (especially, the anchor links were error prone in the past which motivated me to automate this).


  • Ready for review

@philippotto philippotto self-assigned this Sep 28, 2022
@philippotto
Copy link
Member Author

by the way, I tested this with a private repo. it looks like this:

image

Copy link
Member

@normanrz normanrz left a comment

Choose a reason for hiding this comment

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

nice stuff!

@philippotto philippotto enabled auto-merge (squash) September 28, 2022 12:28
@philippotto philippotto merged commit 20af9ff into master Sep 28, 2022
@philippotto philippotto deleted the create-release-script branch September 28, 2022 12:49
hotzenklotz added a commit that referenced this pull request Oct 13, 2022
…jects-created

* 'master' of github.com:scalableminds/webknossos: (337 commits)
  Fix docs for the annotation download file format (#6546)
  Added total runtime information to VX reports (#6543)
  fix VX report for completed + skipped tasks (#6540)
  Avoid allocating spire uint objects during apply agglomerate (#6532)
  Explore remote N5 datasets (#6520)
  Fix MeshChunk byteOffset (Long, not Int) (#6536)
  update browserslist (#6505)
  Support new Mesh File (v3) (#6491)
  makes workflow_yamlContent optional (#6518)
  Always return 404 for Failures in Zarr Streaming (#6515)
  Poll wk version to notify during upgrade (#6451)
  add script which extracts newest changelog and creates GH release for it (#6504)
  release 22.10.0 (#6500)
  voxel³ -> voxel (#6501)
  Allow task type summary to identify task type when creating tasks in bulk (#6486)
  Fix sql evolution 090 (defer not null constraint) (#6498)
  SQL schema cleanup (#6492)
  Fix validation of layer selection when trying to start globalization of floodfills (#6497)
  Add "shift + w" shortcut to cycle backwards through tools (#6493)
  Fix filtering for public datasets in dataset table (#6496)
  ...
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.

2 participants