From 1ddd80b8ad7963e7827fb8af9d37cf5e492bb5e0 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Mon, 11 Jul 2022 11:13:07 +1000 Subject: [PATCH] CI: Move comment out of script --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index feac280..aff94cd 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -92,9 +92,9 @@ task: - Invoke-WebRequest https://releases.wezm.net/upload-to-s3/0.1.10/upload-to-s3-0.1.10-x86_64-pc-windows-msvc.zip -OutFile upload-to-s3.zip - Expand-Archive upload-to-s3.zip -DestinationPath . - git fetch --tags + # PowerShell it truly horrific and lacks a way to exit on external command failure so we have to check after every command + # https://stackoverflow.com/questions/48864988/powershell-with-git-command-error-handling-automatically-abort-on-non-zero-exi/48877892#48877892 test_script: | - # PowerShell it truly horrific and lacks a way to exit on external command failure so we have to check after every command - # https://stackoverflow.com/questions/48864988/powershell-with-git-command-error-handling-automatically-abort-on-non-zero-exi/48877892#48877892 ~\.cargo\bin\cargo test if ($LASTEXITCODE) { Throw } publish_script: |