From 47bc1b08767badc2717b26da00581b148b8da210 Mon Sep 17 00:00:00 2001 From: Akshay Rane Date: Wed, 17 May 2023 16:10:34 -0700 Subject: [PATCH] Updated versions in binary files uploaded at the time of release --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97c052bbc..79319ab60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,17 +27,17 @@ jobs: macos: | rustup target add x86_64-apple-darwin cargo build --release --target x86_64-apple-darwin - mkdir cfn-guard-v2-${{ matrix.os }} - cp ./target/x86_64-apple-darwin/release/cfn-guard ./cfn-guard-v2-${{ matrix.os }}/ - cp README.md ./cfn-guard-v2-${{ matrix.os }}/ - tar czvf ./cfn-guard-v2-${{ matrix.os }}.tar.gz ./cfn-guard-v2-${{ matrix.os }} + mkdir cfn-guard-v3-${{ matrix.os }} + cp ./target/x86_64-apple-darwin/release/cfn-guard ./cfn-guard-v3-${{ matrix.os }}/ + cp README.md ./cfn-guard-v3-${{ matrix.os }}/ + tar czvf ./cfn-guard-v3-${{ matrix.os }}.tar.gz ./cfn-guard-v3-${{ matrix.os }} linux: | rustup target add x86_64-unknown-linux-musl cargo build --release --target x86_64-unknown-linux-musl - mkdir cfn-guard-v2-${{ matrix.os }} - cp ./target/x86_64-unknown-linux-musl/release/cfn-guard ./cfn-guard-v2-${{ matrix.os }}/ - cp README.md ./cfn-guard-v2-${{ matrix.os }}/ - tar czvf ./cfn-guard-v2-${{ matrix.os }}.tar.gz ./cfn-guard-v2-${{ matrix.os }} + mkdir cfn-guard-v3-${{ matrix.os }} + cp ./target/x86_64-unknown-linux-musl/release/cfn-guard ./cfn-guard-v3-${{ matrix.os }}/ + cp README.md ./cfn-guard-v3-${{ matrix.os }}/ + tar czvf ./cfn-guard-v3-${{ matrix.os }}.tar.gz ./cfn-guard-v3-${{ matrix.os }} - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1 @@ -45,6 +45,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.get_release.outputs.upload_url }} - asset_path: ./cfn-guard-v2-${{ matrix.os }}.tar.gz - asset_name: cfn-guard-v2-${{ matrix.os }}.tar.gz + asset_path: ./cfn-guard-v3-${{ matrix.os }}.tar.gz + asset_name: cfn-guard-v3-${{ matrix.os }}.tar.gz asset_content_type: application/octet-stream