From 156c63db504c0d1487567265607809e144c9cc00 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 14:38:11 +0300 Subject: [PATCH 1/9] fixed tag + prerelease --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e0629c..4257746 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,11 @@ jobs: - name: Check out code uses: actions/checkout@v4 + - name: Create Git tag + run: | + git tag ${{ github.event.inputs.tag }} + git push origin ${{ github.event.inputs.tag }} + - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -123,6 +128,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + tag_name: ${{ github.event.inputs.tag }} files: ./release/dash-evo-tool-* draft: false - prerelease: false \ No newline at end of file + prerelease: true \ No newline at end of file From 624220ca73a3e0d61a76208d9931f92add88a882 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 14:44:19 +0300 Subject: [PATCH 2/9] move step --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4257746..8a90cc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,11 +43,6 @@ jobs: - name: Check out code uses: actions/checkout@v4 - - name: Create Git tag - run: | - git tag ${{ github.event.inputs.tag }} - git push origin ${{ github.event.inputs.tag }} - - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -99,6 +94,12 @@ jobs: needs: build-and-release runs-on: ubuntu-latest steps: + + - name: Create Git tag + run: | + git tag ${{ github.event.inputs.tag }} + git push origin ${{ github.event.inputs.tag }} + - name: Download Linux X64 uses: actions/download-artifact@v3 with: From 42c5a2da13f17b6320882682c8db2a663ecf1b60 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 15:07:16 +0300 Subject: [PATCH 3/9] create tag manually for now I guess --- .github/workflows/release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a90cc1..98e0154 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,12 +94,6 @@ jobs: needs: build-and-release runs-on: ubuntu-latest steps: - - - name: Create Git tag - run: | - git tag ${{ github.event.inputs.tag }} - git push origin ${{ github.event.inputs.tag }} - - name: Download Linux X64 uses: actions/download-artifact@v3 with: From e16374bd27fbb06dec97119b2a3227fc58fdff9c Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 15:33:11 +0300 Subject: [PATCH 4/9] check release dir... --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98e0154..0c70121 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,6 +118,9 @@ jobs: name: dash-evo-tool-aarch64-apple-darwin path: ./release/dash-evo-tool-aarch64-mac + - name: Check dir + run: ls -lah ./release + - name: Publish release uses: softprops/action-gh-release@v1 env: From 898dc089b95e4974375285f6c732bc449c564c14 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 15:56:52 +0300 Subject: [PATCH 5/9] remove wildcards --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c70121..a1776a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,6 +127,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.event.inputs.tag }} - files: ./release/dash-evo-tool-* + files: | + ./release/dash-evo-tool-x86_64-linux + ./release/dash-evo-tool-aarch64-linux + ./release/dash-evo-tool-x86_64-mac + ./release/dash-evo-tool-aarch64-mac draft: false prerelease: true \ No newline at end of file From 859b1f6c61c7864e45a60d769348baf92916872e Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 16:22:52 +0300 Subject: [PATCH 6/9] correct paths --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1776a2..abee8e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,25 +98,25 @@ jobs: uses: actions/download-artifact@v3 with: name: dash-evo-tool-x86_64-unknown-linux-gnu - path: ./release/dash-evo-tool-x86_64-linux + path: ./release/ - name: Download Linux ARM uses: actions/download-artifact@v3 with: name: dash-evo-tool-aarch64-unknown-linux-gnu - path: ./release/dash-evo-tool-aarch64-linux + path: ./release/ - name: Download Mac x64 uses: actions/download-artifact@v3 with: name: dash-evo-tool-x86_64-apple-darwin - path: ./release/dash-evo-tool-x86_64-mac + path: ./release/ - name: Download Mac ARM uses: actions/download-artifact@v3 with: name: dash-evo-tool-aarch64-apple-darwin - path: ./release/dash-evo-tool-aarch64-mac + path: ./release/ - name: Check dir run: ls -lah ./release From 09cd6eb03e525c172c080c5ad7837f7a25ae969f Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 16:45:17 +0300 Subject: [PATCH 7/9] Attempt 4... --- .github/workflows/release.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abee8e2..7b6a4e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,28 +98,28 @@ jobs: uses: actions/download-artifact@v3 with: name: dash-evo-tool-x86_64-unknown-linux-gnu - path: ./release/ + path: ./release/dash-evo-tool-x86_64-unknown-linux-gnu/ - name: Download Linux ARM uses: actions/download-artifact@v3 with: name: dash-evo-tool-aarch64-unknown-linux-gnu - path: ./release/ + path: ./release/dash-evo-tool-aarch64-unknown-linux-gnu/ - name: Download Mac x64 uses: actions/download-artifact@v3 with: name: dash-evo-tool-x86_64-apple-darwin - path: ./release/ + path: ./release/dash-evo-tool-x86_64-apple-darwin/ - name: Download Mac ARM uses: actions/download-artifact@v3 with: name: dash-evo-tool-aarch64-apple-darwin - path: ./release/ + path: ./release/dash-evo-tool-aarch64-apple-darwin/ - name: Check dir - run: ls -lah ./release + run: ls -lah ./release/dash-evo-tool-aarch64-apple-darwin - name: Publish release uses: softprops/action-gh-release@v1 @@ -128,9 +128,9 @@ jobs: with: tag_name: ${{ github.event.inputs.tag }} files: | - ./release/dash-evo-tool-x86_64-linux - ./release/dash-evo-tool-aarch64-linux - ./release/dash-evo-tool-x86_64-mac - ./release/dash-evo-tool-aarch64-mac + ./release/dash-evo-tool-x86_64-linux/dash-evo-tool + ./release/dash-evo-tool-aarch64-linux/dash-evo-tool + ./release/dash-evo-tool-x86_64-mac/dash-evo-tool + ./release/dash-evo-tool-aarch64-mac/dash-evo-tool draft: false prerelease: true \ No newline at end of file From 7f3c343cfc744aea950a89e148f6776c60cdb908 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 17:08:37 +0300 Subject: [PATCH 8/9] fix paths --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b6a4e6..7bb3f18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,9 +128,9 @@ jobs: with: tag_name: ${{ github.event.inputs.tag }} files: | - ./release/dash-evo-tool-x86_64-linux/dash-evo-tool - ./release/dash-evo-tool-aarch64-linux/dash-evo-tool - ./release/dash-evo-tool-x86_64-mac/dash-evo-tool - ./release/dash-evo-tool-aarch64-mac/dash-evo-tool + ./release/dash-evo-tool-x86_64-unknown-linux-gnu/dash-evo-tool + ./release/dash-evo-tool-aarch64-unknown-linux-gnu/dash-evo-tool + ./release/dash-evo-tool-x86_64-apple-darwin/dash-evo-tool + ./release/dash-evo-tool-aarch64-apple-darwin/dash-evo-tool draft: false prerelease: true \ No newline at end of file From 692ee8f73930cb8e5543d73bffd4134a9aa64709 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Tue, 15 Oct 2024 17:35:20 +0300 Subject: [PATCH 9/9] Attempt 6... --- .github/workflows/release.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bb3f18..0a56731 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,6 +118,18 @@ jobs: name: dash-evo-tool-aarch64-apple-darwin path: ./release/dash-evo-tool-aarch64-apple-darwin/ + - name: Rename Linux X64 file + run: mv ./release/dash-evo-tool-x86_64-unknown-linux-gnu/dash-evo-tool ./release/dash-evo-tool-x86_64-linux + + - name: Rename Linux ARM file + run: mv ./release/dash-evo-tool-aarch64-unknown-linux-gnu/dash-evo-tool ./release/dash-evo-tool-aarch64-linux + + - name: Rename Mac x64 file + run: mv ./release/dash-evo-tool-x86_64-apple-darwin/dash-evo-tool ./release/dash-evo-tool-x86_64-mac + + - name: Rename Mac ARM file + run: mv ./release/dash-evo-tool-aarch64-apple-darwin/dash-evo-tool ./release/dash-evo-tool-aarch64-mac + - name: Check dir run: ls -lah ./release/dash-evo-tool-aarch64-apple-darwin @@ -128,9 +140,9 @@ jobs: with: tag_name: ${{ github.event.inputs.tag }} files: | - ./release/dash-evo-tool-x86_64-unknown-linux-gnu/dash-evo-tool - ./release/dash-evo-tool-aarch64-unknown-linux-gnu/dash-evo-tool - ./release/dash-evo-tool-x86_64-apple-darwin/dash-evo-tool - ./release/dash-evo-tool-aarch64-apple-darwin/dash-evo-tool + ./release/dash-evo-tool-x86_64-linux + ./release/dash-evo-tool-aarch64-linux + ./release/dash-evo-tool-x86_64-mac + ./release/dash-evo-tool-aarch64-mac draft: false prerelease: true \ No newline at end of file