Both those set in
release :my_release do set(version: "0.1.1") # <--- here set( applications: [ # ... ] ) end
and in each app’s
def project do [ app: :my_app, version: "0.1.5", # <--- here # ... ] end
So far I’ve been naively setting them manually, but I’d like to somehow automate the process.
I’ve been thinking about setting the release version to a unix timestamp before each call to
mix release. Are there any potential downsides to it? I mostly need it for hot code upgrades.
What can I do about individual app’s versions? Read them from environmental variables and add a pre-commit git hook that would increment those?