KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 8 forks source link

Better handling of revision/changelog #51

Closed narnaud closed 2 days ago

narnaud commented 1 week ago

In fine, we want to use release-please for doing the release. In order to do that.

We are going to use the simple strategy here: https://github.com/googleapis/release-please/blob/main/docs/customizing.md

LeonMatthesKDAB commented 1 week ago

We actually don't need to change the registration of QML types, as those need to be registered with the version they were first introduced, not the current version.

@narnaud did however come up with a cool idea to automate defining something as coming from the next release: Maybe we can define some macros, like KNUT_NEXT_VERSION that we can string-replace using release-please to always point to the next version number.

Then we could e.g. write

\since KNUT_NEXT_VERSION

In our documentation and have that automatically replaced on the next release PR by e.g.

\since 1.1

This is something to try when setting up release-please as part of #3 .

LeonMatthesKDAB commented 2 days ago

Done as of #57