rcmolina / MaxDuino

Unified firmware for tzxduino and casduino
https://www.va-de-retro.com/foros/viewtopic.php?t=5541&start=9999
88 stars 21 forks source link

Auto version numbers #47

Closed stripwax closed 1 year ago

stripwax commented 1 year ago

Each new commit to master branch increments the version number automatically e.g 1.77.1001 -> 1.77.1002 Doesn't yet handle pull request actions, only commits . I figure that's ok for now and if I can get the pull request action to also update the version number then we'll be pretty happy I think?

stripwax commented 1 year ago

oh actually pull request seems to work well too, because github creates a "merge pull request" commit, which is enough to trigger the workflow to update the version number. excellent! (tested in repo here: https://github.com/stripwax/MaxDuino/commits/auto_version_numbers_testtest )