Replies: 1 comment 1 reply
-
How about the ability to copy files in general? Rather than release specific functionality. let release = HEMTT_DIRECTORY.join("releases");
let src = release.join(HEMTT_PROJECT_PREFIX + "-latest.zip");
let dst = release.join("@" + HEMTT_PROJECT_PREFIX + ".zip");
print("Copying zip to " + dst);
if !src.copy(dst) {
print("Failed to copy " + src + " to " + dst);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be neat to be able to rename the release
zip
({prefix}-{version}.zip
) in a post-release hook. As a project config for this is not something that was wanted/accepted some time ago, this could be considered instead.Right now that is the only thing that requires either manual work or an external wrapper script for all my HEMTT release tasks, and not even that would be necessary if we could have Binarize in CI.
As discussed before, alternative would also be a config option in
hemtt.launch
:However there is a bonus in doing it via Rhai, use of already existing template variables, so you could do
acre2_{HEMTT_PROJECT_VERSION_MAJOR}.{HEMTT_PROJECT_VERSION_MINOR}.{HEMTT_PROJECT_VERSION_PATCH}.zip
instead of the full version for example.Beta Was this translation helpful? Give feedback.
All reactions