Skip to content

Commit d288c31

Browse files
committed
update mukti version
Also fix up releases.json for the new mukti version.
1 parent d83de78 commit d288c31

3 files changed

Lines changed: 57 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,15 @@ jobs:
119119
shell: bash
120120
run: |
121121
if [[ ${{ matrix.target }} == "x86_64-pc-windows-msvc" ]]; then
122-
echo "::set-output name=${{ matrix.target }}::${{ github.ref_name }}-${{ matrix.target }}".zip
122+
echo "::set-output name=${{ matrix.target }}-tar::${{ github.ref_name }}-${{ matrix.target }}".tar.gz
123+
echo "::set-output name=${{ matrix.target }}-zip::${{ github.ref_name }}-${{ matrix.target }}".zip
123124
else
124-
echo "::set-output name=${{ matrix.target }}::${{ github.ref_name }}-${{ matrix.target }}".tar.gz
125+
echo "::set-output name=${{ matrix.target }}-tar::${{ github.ref_name }}-${{ matrix.target }}".tar.gz
125126
fi
126127
outputs:
127-
linux-tar: ${{ steps.archive-output.outputs.x86_64-unknown-linux-gnu }}
128-
windows-zip: ${{ steps.archive-output.outputs.x86_64-pc-windows-msvc }}
128+
linux-tar: ${{ steps.archive-output.outputs.x86_64-unknown-linux-gnu-tar }}
129+
windows-tar: ${{ steps.archive-output.outputs.x86_64-unknown-linux-gnu-tar }}
130+
windows-zip: ${{ steps.archive-output.outputs.x86_64-pc-windows-msvc-zip }}
129131

130132
build-cargo-nextest-binaries-mac:
131133
name: Build universal cargo-nextest binary for Mac
@@ -166,21 +168,25 @@ jobs:
166168
- name: Download mukti
167169
run: |
168170
mkdir -p ~/bin
169-
curl -LsSf "https://github.com/sunshowers/mukti/releases/download/mukti-bin-0.3.0/mukti-bin-0.3.0-x86_64-unknown-linux-gnu.tar.gz" \
171+
curl -LsSf "https://github.com/sunshowers/mukti/releases/download/mukti-bin-0.5.0/mukti-bin-0.5.0-x86_64-unknown-linux-gnu.tar.gz" \
170172
| tar xzf - -C ~/bin
171173
- name: Add release metadata
172174
run: |
173175
~/bin/mukti-bin add-release --version ${{ needs.cargo-nextest-release.outputs.version }} \
174176
--release-url "https://github.com/nextest-rs/nextest/releases/${{ github.ref_name }}" \
175177
--archive-prefix "https://github.com/nextest-rs/nextest/releases/download/${{ github.ref_name }}" \
176-
--archive x86_64-unknown-linux-gnu=${{ needs.build-cargo-nextest-binaries.outputs.linux-tar }} \
177-
--archive x86_64-pc-windows-msvc=${{ needs.build-cargo-nextest-binaries.outputs.windows-zip }} \
178-
--archive universal-apple-darwin=${{ needs.build-cargo-nextest-binaries-mac.outputs.mac-tar }}
178+
--archive x86_64-unknown-linux-gnu:tar.gz=${{ needs.build-cargo-nextest-binaries.outputs.linux-tar }} \
179+
--archive x86_64-pc-windows-msvc:tar.gz=${{ needs.build-cargo-nextest-binaries.outputs.windows-tar }} \
180+
--archive x86_64-pc-windows-msvc:zip=${{ needs.build-cargo-nextest-binaries.outputs.windows-zip }} \
181+
--archive universal-apple-darwin:tar.gz=${{ needs.build-cargo-nextest-binaries-mac.outputs.mac-tar }}
179182
- name: Generate netlify redirects
180183
run: |
181184
mkdir out-dir
182-
~/bin/mukti-bin generate-netlify out-dir --alias linux=x86_64-unknown-linux-gnu \
183-
--alias windows=x86_64-pc-windows-msvc --alias mac=universal-apple-darwin
185+
~/bin/mukti-bin generate-netlify out-dir \
186+
--alias linux=x86_64-unknown-linux-gnu:tar.gz \
187+
--alias windows=x86_64-pc-windows-msvc:zip \
188+
--alias windows-tar=x86_64-pc-windows-msvc:tar.gz \
189+
--alias mac=universal-apple-darwin:tar.gz \
184190
- name: Update releases.json on main branch
185191
uses: EndBug/add-and-commit@v8
186192
with:

.releases.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,37 @@
1-
{"latest":"0.9","ranges":{"0.9":{"latest":"0.9.4","is_prerelease":false,"versions":{"0.9.4":{"release_url":"https://github.com/nextest-rs/nextest/releases/cargo-nextest-0.9.4","status":"active","locations":[{"target":"x86_64-unknown-linux-gnu","url":"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-x86_64-unknown-linux-gnu.tar.gz"},{"target":"x86_64-pc-windows-msvc","url":"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-x86_64-pc-windows-msvc.zip"},{"target":"universal-apple-darwin","url":"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-universal-apple-darwin.tar.gz"}]},"0.9.4-rc.3":{"release_url":"https://github.com/nextest-rs/nextest/releases/cargo-nextest-0.9.4-rc.3","status":"active","locations":[{"target":"x86_64-unknown-linux-gnu","url":"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4-rc.3/cargo-nextest-0.9.4-rc.3-x86_64-unknown-linux-gnu.tar.gz"},{"target":"x86_64-pc-windows-msvc","url":"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4-rc.3/cargo-nextest-0.9.4-rc.3-x86_64-pc-windows-msvc.zip"},{"target":"universal-apple-darwin","url":"https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4-rc.3/cargo-nextest-0.9.4-rc.3-universal-apple-darwin.tar.gz"}]}}}}}
1+
{
2+
"latest": "0.9",
3+
"ranges": {
4+
"0.9": {
5+
"latest": "0.9.4",
6+
"is_prerelease": false,
7+
"versions": {
8+
"0.9.4": {
9+
"release_url": "https://github.com/nextest-rs/nextest/releases/cargo-nextest-0.9.4",
10+
"status": "active",
11+
"locations": [
12+
{
13+
"target": "x86_64-unknown-linux-gnu",
14+
"format": "tar.gz",
15+
"url": "https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-x86_64-unknown-linux-gnu.tar.gz"
16+
},
17+
{
18+
"target": "x86_64-pc-windows-msvc",
19+
"format": "tar.gz",
20+
"url": "https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-x86_64-pc-windows-msvc.tar.gz"
21+
},
22+
{
23+
"target": "x86_64-pc-windows-msvc",
24+
"format": "zip",
25+
"url": "https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-x86_64-pc-windows-msvc.zip"
26+
},
27+
{
28+
"target": "universal-apple-darwin",
29+
"format": "tar.gz",
30+
"url": "https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-0.9.4/cargo-nextest-0.9.4-universal-apple-darwin.tar.gz"
31+
}
32+
]
33+
}
34+
}
35+
}
36+
}
37+
}

site/src/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
This page documents new features and bugfixes for cargo-nextest. Please see the [stability
44
policy](book/stability.md) for how versioning works with cargo-nextest.
55

6+
## [0.9.5-rc.1] - 2022-02-16
7+
8+
(Temporary release) test out binary releases once again.
9+
610
## [0.9.4] - 2022-02-16
711

812
The big new change is that release binaries are now available! Head over to [Pre-built binaries](https://nexte.st/book/pre-built-binaries) for more.

0 commit comments

Comments
 (0)