-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt to HEMTT #1145
Adapt to HEMTT #1145
Conversation
Release/publish procedure idea (in combination with BrettMayson/HEMTT#16 (comment)) $ hemtt version -i minor
$ hemtt build --release -f
$ hemtt run publish Configuration to achieve above: version = "3.12.0.{{date \"%y%m%d\"}}" # eg. "3.12.0.190515"
[scripts.publish]
show_output = true
steps = [
"@version -i build", # Would automatically use date specifier as above
"git commit -am \"Bump to v{{version}}\"",
"git push"
] Ideally, we could also do the following, but HEMTT needs to support running its own commands from user-defined scripts. $ hemtt version -i minor
$ hemtt run release # Update versions, commits them, build release (maybe better name?) [scripts.release]
show_output = true
steps = [
"@version -i build", # Would automatically use date specifier as above
"git commit -am \"Bump to v{{version}}\"",
"build --release -f", # After version commit, we want headerext to be up-to-date
"git push" # Push prep/bump commit
] |
Why does it delete comments at the end of the line? They are actually helpful. |
Again, read the commit title. It is temporary so I can test the rest until it gets fixed in armake2. It's even on TODO above... |
Requires unreleased BrettMayson/HEMTT#299, but is backwards compatibly
When merged this pull request will:
build.bat
for quick Windows builds without command line andbuild_release.bat
for release buildssetup.bat
to download project-specific HEMTT binary/
comment bug)make.py
) inprebuild
and reset inpostbuild
addons/main/script_version.hpp
TODO armake2/HEMTT:
/
on same line (example) (BrettMayson/HEMTT@477e44c)TODO CBA Later (User):
setup.py
Use Windows Installer instead of project-specific binary and download script (Windows Installer BrettMayson/HEMTT#60)Will stay project-specificTODO HEMTT Later:
/
comment and folder copy on release) (Tools - Show version when installing HEMTT #1317)