From 657d1b1764a129a7ef61bafeff7aa215b927c4d0 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 12 Jan 2024 13:23:06 -0600 Subject: [PATCH 1/3] chore(ci): Remove use of undefined variable --- .github/workflows/post-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 94aa3bf84..144735c09 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -94,7 +94,7 @@ jobs: - name: Build archive shell: bash run: | - outdir="./target/${{ env.TARGET_DIR }}/release" + outdir="./target/${{ matrix.target }}/release" staging="${{ env.BIN_NAME }}-${{ needs.create-release.outputs.release_version }}-${{ matrix.target }}" mkdir -p "$staging"/{complete,doc} cp {README.md,LICENSE-*} "$staging/" From 5adfdc2ade928c88da391649193f75b01a5b3492 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 12 Jan 2024 13:52:15 -0600 Subject: [PATCH 2/3] chore(ci): Show what gets bundled --- .github/workflows/post-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 144735c09..c3b2df1d7 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -101,11 +101,13 @@ jobs: cp {CHANGELOG.md,docs/*} "$staging/doc/" if [ "${{ matrix.os }}" = "windows-2019" ]; then cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}.exe" "$staging/" + ls -l "$staging" cd "$staging" 7z a "../$staging.zip" . echo "ASSET=$staging.zip" >> $GITHUB_ENV else cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}" "$staging/" + ls -l "$staging" tar czf "$staging.tar.gz" -C "$staging" . echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV fi From 7b12730b18afccf0b61ed34c191d5ac11230c19b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 12 Jan 2024 14:12:26 -0600 Subject: [PATCH 3/3] chore(ci): Build for aarch64 --- .github/workflows/post-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index c3b2df1d7..161f74d75 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -69,6 +69,10 @@ jobs: os: macos-latest rust: stable target: x86_64-apple-darwin + - build: macos-aarch64 + os: macos-latest + rust: stable + target: aarch64-apple-darwin - build: win-msvc os: windows-2019 rust: stable