Open tomuben opened 3 years ago
Using the last tag to compute the next version number probably doesn't work, because we decide the jump and jump needs to be consistent. The script should fail, if the last tag is equal to the version of current last changes_* file.
Background
We have now a script which automatically generates the package diff markdown files for all flavors! It would be great to automatically check on GHA if the markdown package diff files are up-to-date with the current commit.
Acceptance Criteria
Implement a script (Python) which calculates the next version number of script-languages-releases: This can either be accomplished by checking the last tag or by parsing
doc/changes/changelog.md
.Then create a GHA yml file which runs
/scripts/generate_package_diffs_for_flavors/generate_package_diffs_for_flavors.py
with the correct parameters (the new version obtained in step one).Finally check if the git working tree remains clean; If not => Fail the GHA job!