ThiaudioTT / hoi4-presence

Hearts of Iron IV presence for Discord!
MIT License
13 stars 10 forks source link

Adjust auto-release when making a new tag #46

Open ThiaudioTT opened 2 months ago

ThiaudioTT commented 2 months ago

Basically, create a new workflow for when a release tag is created.

Like in: https://github.com/marketplace/actions/automatic-releases#create-a-new-github-release-when-tags-are-pushed-to-the-repository

This will define a new tag "release" to be the most stable version.

Then checkupdate.py must be updated to reflect the new changes, it should check the version.json in the latest tag.

https://github.com/ThiaudioTT/hoi4-presence/blob/b3e18621958ee672957e3776142192595e967db2/src/checkupdate/checkupdate.py#L36

This workflow also needs to validate version.json, see #45 is also related.

summary