summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-10-03 02:42:37 -0400
committerGitHub <noreply@github.com>2021-10-03 02:42:37 -0400
commit9071e372834c92304bf104ae827971c48dbac6d1 (patch)
tree5f48ad9ec9e837b210ee859c223bc8024c51fc45 /deployment
parent865d0dac786ca1fd8662899d42a4d24d741ac6a3 (diff)
ci: only create nightly release if build passes (#590)
Changes the nightly build workflow to delete/create a new release *only* if the entire build process passes. This avoids a potential case of a nightly build failing but having overwritten the old one, which has happened before. After this change lands, similar changes will probably be made to the deployment script for releases.
Diffstat (limited to 'deployment')
-rw-r--r--deployment/windows/choco/choco_packager.py2
-rw-r--r--deployment/windows/choco/chocolatey_install.ps1.template (renamed from deployment/windows/choco/chocolateyinstall.ps1.template)0
2 files changed, 1 insertions, 1 deletions
diff --git a/deployment/windows/choco/choco_packager.py b/deployment/windows/choco/choco_packager.py
index 1e5c5684..da8e2960 100644
--- a/deployment/windows/choco/choco_packager.py
+++ b/deployment/windows/choco/choco_packager.py
@@ -49,7 +49,7 @@ with open(deployment_file_path_32, "rb") as deployment_file_32, open(
with open(ps1_template, "r") as template_file:
template = Template(template_file.read())
substitute = template.safe_substitute(version=version, hash_32=hash_32, hash_64=hash_64)
- print("\n================== Generated chocolateyinstall file ==================\n")
+ print("\n================== Generated chocolatey-install file ==================\n")
print(substitute)
print("\n============================================================\n")
diff --git a/deployment/windows/choco/chocolateyinstall.ps1.template b/deployment/windows/choco/chocolatey_install.ps1.template
index 638d7281..638d7281 100644
--- a/deployment/windows/choco/chocolateyinstall.ps1.template
+++ b/deployment/windows/choco/chocolatey_install.ps1.template