diff --git a/.github/workflows/check-tutorial.yaml b/.github/workflows/check-tutorial.yaml index 6e0410808f7..277329dde97 100644 --- a/.github/workflows/check-tutorial.yaml +++ b/.github/workflows/check-tutorial.yaml @@ -31,7 +31,7 @@ jobs: import re with open("docs/docs/tutorial/index.md", "r") as tutorial: body = tutorial.read() - usedCardanoNodeVersions = re.findall(r"cardano-node/releases/download/([0-9]+\.[0-9]+\.[0-9]+)", body) + usedCardanoNodeVersions = re.findall(r"cardano-node-.*-([0-9]+\.[0-9]+\.[0-9]+).zip", body) with open("hydra-cluster/test/Test/CardanoNodeSpec.hs", "r") as cardanoNodeSpecFile: body = cardanoNodeSpecFile.read() diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dc4473024a2..36e9febac1b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -208,7 +208,9 @@ To perform a release of next ``: push the branches `master`, `release` and the `` tag. 5. Create a github release page containing * The released changes (formatted) and giving credit where credit is due - * Attach static binaries to the release (or link the CI artifact) + * Built hydra (and cardano-node) binaries to the release using naming scheme: + `hydra--.zip` where `platform` is `x86_64-linux` or + `aarch64-darwin` (the same for `cardano-node` instead of `hydra`) * The just published `hydra-scripts-tx-id` from step 1 [smoke-test]: https://github.com/input-output-hk/hydra/actions/workflows/smoke-test.yaml diff --git a/docs/docs/tutorial/index.md b/docs/docs/tutorial/index.md index e1e728ad666..4868d03a238 100644 --- a/docs/docs/tutorial/index.md +++ b/docs/docs/tutorial/index.md @@ -44,8 +44,8 @@ mkdir -p bin version=0.14.0 curl -L -O https://github.com/input-output-hk/hydra/releases/download/${version}/hydra-x86_64-linux-${version}.zip unzip -d bin hydra-x86_64-linux-${version}.zip -curl -L -o - https://github.com/input-output-hk/cardano-node/releases/download/8.7.2/cardano-node-8.7.2-linux.tar.gz \ - | tar xz -C bin ./cardano-node ./cardano-cli +curl -L -o - https://github.com/input-output-hk/hydra/releases/download/${version}/cardano-node-x86_64-linux-8.7.2.zip +unzip -d bin cardano-node-8.7.2-linux.zip curl -L -o - https://github.com/input-output-hk/mithril/releases/download/2347.0/mithril-2347.0-linux-x64.tar.gz \ | tar xz -C bin mithril-client chmod +x bin/* @@ -58,12 +58,12 @@ chmod +x bin/* mkdir -p bin version=0.14.0 curl -L -O https://github.com/input-output-hk/hydra/releases/download/${version}/hydra-aarch64-darwin-${version}.zip -unzip -d bin hydra-aarch64-darwin-${HYDRA_VERSION}.zip +unzip -d bin hydra-aarch64-darwin-${version}.zip +curl -L -o - https://github.com/input-output-hk/hydra/releases/download/${version}/cardano-node-aarch-darwin-8.7.2.zip +unzip -d bin cardano-node-8.7.2-linux.zip curl -L -o - https://github.com/input-output-hk/mithril/releases/download/2347.0/mithril-2347.0-macos-x64.tar.gz \ | tar xz -C bin -curl -L -o - https://github.com/input-output-hk/cardano-node/releases/download/8.7.2/cardano-node-8.7.2-macos.tar.gz \ - | tar xz -C bin cardano-node cardano-cli '*.dylib' -chmod +x bin/mithril-client +chmod +x bin/* ```