mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
Make sure to fail CI when unable to get madMAx version (#9573)
* Make sure to fail CI when unable to get madMAx version * fail more
This commit is contained in:
+2
-1
@@ -59,7 +59,8 @@ steps:
|
||||
displayName: Create installer version number
|
||||
|
||||
- script: |
|
||||
MADMAX_VERSION=$(curl -u "$(GithubUsername):$(GithubToken)" --silent "https://api.github.com/repos/Chia-Network/chia-plotter-madmax/releases/latest" | jq -r '.tag_name')
|
||||
set -o errexit -o pipefail
|
||||
MADMAX_VERSION=$(curl -u "$(GithubUsername):$(GithubToken)" --fail --silent "https://api.github.com/repos/Chia-Network/chia-plotter-madmax/releases/latest" | jq -r '.tag_name')
|
||||
|
||||
mkdir "$(System.DefaultWorkingDirectory)/madmax"
|
||||
wget -O "$(System.DefaultWorkingDirectory)/madmax/chia_plot" https://github.com/Chia-Network/chia-plotter-madmax/releases/download/${MADMAX_VERSION}/chia_plot-${MADMAX_VERSION}-macos-intel
|
||||
|
||||
Reference in New Issue
Block a user