outfoxx / swiftpoet

Kotlin and Java API for generating .swift source files.
Apache License 2.0
277 stars 26 forks source link

Better release procedure #108

Open kdubb opened 6 months ago

kdubb commented 6 months ago

We can make releasing easier:

  1. Disallow user tagging with SemVer (which is what causes a release).
  2. Create a YAML file (or something similar) that has the current released version.
  3. Add an action that detects changes to the YAML file and tags the commit that included the version change. This step will cause a release as it currently does but it will be guaranteed to be committed.

This would make the release procedure PR based and ensure everything is committed before generating a version tag; it has the added benefit of doing the tagging automatically.

kdubb commented 6 months ago

/cc @dnkoutso @oldergod