Skip to content

Commit 1f1b1b6

Browse files
committed
ci: add Download a binary asset section in the release note
1 parent 2ee7ea4 commit 1f1b1b6

File tree

1 file changed

+21
-0
lines changed
  • .github/workflows/actions/prepare-distribution

1 file changed

+21
-0
lines changed

.github/workflows/actions/prepare-distribution/action.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,27 @@ runs:
142142
\`git tag -d unstable && git fetch origin tag unstable\`
143143
EOF
144144
145+
- name: Download a binary asset
146+
shell: bash
147+
run: |
148+
cat >> ./release-notes-addon.txt << EOF
149+
150+
## Download a binary asset
151+
To simplify the installation and updating of Mithril binaries, we have created a one line installer that downloads and installs the Mithril binaries for you.
152+
This installer is available for Linux and macOS and supports the Mithril signer, Mithril aggregator, and Mithril client CLI.
153+
154+
### Examples of the one line installer
155+
156+
- Download the **Mithril signer** in the current directory:
157+
\`curl --proto '=https' --tlsv1.2 -sSf https://github.com/raw/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d ${{ inputs.tag }} -p $(pwd)\`
158+
159+
- Download the **Mithril client CLI** in the current directory:
160+
\`curl --proto '=https' --tlsv1.2 -sSf https://github.com/raw/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d ${{ inputs.tag }} -p $(pwd)\`
161+
162+
- Download the **Mithril aggregator** in the current directory:
163+
\`curl --proto '=https' --tlsv1.2 -sSf https://github.com/raw/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d ${{ inputs.tag }} -p $(pwd)\`
164+
EOF
165+
145166
- name: Create and sign sha256 checksum
146167
shell: bash
147168
env:

0 commit comments

Comments
 (0)