EmergentOrganization / cell-rpg

:black_square_button: connect to a universe where cellular automata have run rampant
http://emergentorganization.github.io/bridge/
Other
12 stars 1 forks source link

Auto-increment Build major:minor versions on compile #78

Closed BrianErikson closed 8 years ago

BrianErikson commented 8 years ago

I've been doing some more research on this (since I'm lazy and can't remember to manually increment) and it appears you can do it via Gradle by executing an ANT task. It appears we need some sort of ANT xml file to increment the numbers. I'm still really hazy on the implementation but it seems to be possible.

BrianErikson commented 8 years ago

Using Gradle's integration with groovy seems to be viable as well.

7yl4r commented 8 years ago

Gradle, Groovy, ANT... I feel so lost when I look at this. It seems like it should be a common task. While increment-on-compile might be helpful, I think what we'll really need is some script we can explicitly run to update the various version numbers spread throughout. I know we have at least:

Maybe my approach to this is unusual though... it sure feels like I'm not following a typical versioning paradigm since I can't find an easy tool to help with it.