Giter Site home page Giter Site logo

Comments (8)

ibiscp avatar ibiscp commented on August 18, 2024 1

I was hoping to have the same behaviour here, if we generate pre-releases constantly, and after some time we generate a release, the release note is empty, it would make sense to have an option to consolidate all the pre-releases changes in the release.

I believe the rule shoul be:

  • pre-release - Consolidate all changes since the last pre-release or release
  • release - Consolidate all changes since the last release

from python-semantic-release.

codejedi365 avatar codejedi365 commented on August 18, 2024

An interesting concept, this might be a place for a jinja macro to preprocess the release history object that is passed to the environment of the template renderer and then loop through the resulting object.

I've personally never written a jinja macro but that would be where I would start.

from python-semantic-release.

codejedi365 avatar codejedi365 commented on August 18, 2024

After re-reading this, I'm not sure what is your intended outcome for the changelog?

  1. Consolidate all prereleases commits to be under the full release version without the prerelease tags as sections?

Or

  1. Consolidate all prereleases commits under the full release version while maintaining each prerelease section?

from python-semantic-release.

cvalentin-dkt avatar cvalentin-dkt commented on August 18, 2024

What would be interesting is that each "pre-release" has its own change log (as currently).
And when i create the "release", all the previous commits of the different RCs appear in the github changelog.
=> https://github.com/{org}/{repo}/releases/tag/vX.X.X

Actually, just last commit beetwen last RC and release is appear.

from python-semantic-release.

codejedi365 avatar codejedi365 commented on August 18, 2024

I think we are talking past each other given the terminology. I was specifically talking about the generation of CHANGELOG.md but it seems you were more interested in the GitHub Release Notes (a per version section of the changes).

My understanding is that right now, the release notes are properly generated for each pre-release but you would like to have the newest full tag release to include all of the commits between it and the last full release as if the prereleases never existed. Is this correct?

Actually, just last commit beetwen last RC and release is appear.

In other words: At the current moment, only commits between the last prerelease and the new release are posted in the new versions release notes. This is my understanding, yes.

I do not believe this is possible at the current time. I have recently made a fix (#822) which likely will provide this functionality for repos that follow the Git Flow merging strategy. I have not yet tested other strategies and I do not know their outcomes but might be related to making this possible.

from python-semantic-release.

codejedi365 avatar codejedi365 commented on August 18, 2024

@ibiscp, thank you for providing your input

from python-semantic-release.

github-actions avatar github-actions commented on August 18, 2024

It has been 60 days since the last update on this confirmed issue. @python-semantic-release/team can you provide an update on the status of this issue?

from python-semantic-release.

codejedi365 avatar codejedi365 commented on August 18, 2024

Still in the backlog but a valuable improvement nonetheless

from python-semantic-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.