From 93a54f7da709b311e47125575fa2e391147201df Mon Sep 17 00:00:00 2001 From: Reshetnikov Alexandr Date: Thu, 12 Oct 2023 06:22:00 +0400 Subject: [PATCH] release --- .github/workflows/zstd.yml | 16 ++++++++++++++++ zstd/build_musl.sh | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zstd.yml b/.github/workflows/zstd.yml index ddbca1dbd..471e68baa 100644 --- a/.github/workflows/zstd.yml +++ b/.github/workflows/zstd.yml @@ -44,3 +44,19 @@ jobs: with: workflow: ${{ github.workflow }} artifact: build-mingw + + release: + needs: [test-alpine, + test-ubuntu, + test-windows, + test-nanoserver] + uses: ./.github/workflows/release.yml + with: + workflow: ${{ github.workflow }} + tool_version: '1.5.5' + prepare_body: | + bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md + bsdtar -Oxf ./build-mingw/build-mingw.tar.gz build-mingw.md >> body.md + artifacts: ./build-musl/build-musl.tar.gz,./build-mingw/build-mingw.tar.gz + secrets: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/zstd/build_musl.sh b/zstd/build_musl.sh index f44e7204d..2fbf82b58 100755 --- a/zstd/build_musl.sh +++ b/zstd/build_musl.sh @@ -36,8 +36,8 @@ strip "$tool_name" { printf '### %s SHA-256: %s %s -%s -' "$self_toolset_name.tar.gz" "$(sha256sum $tool_name)" "$("./$tool_name" --version)" "$download_url" + +' "$self_toolset_name.tar.gz" "$(sha256sum $tool_name)" "$("./$tool_name" --version)" } > "$self_toolset_name.md" cat "$self_toolset_name.md"