From 334dfcdb494b1a468493c814b047be41bd8ad01b Mon Sep 17 00:00:00 2001 From: byCrookie Date: Sun, 11 Feb 2024 12:14:06 +0100 Subject: [PATCH] fix naming of releases --- .github/workflows/release.yml | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a509df..9e50732 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,9 +64,9 @@ jobs: - name: Zip run: | - Compress-Archive -Path ./publish/win-x64/* -DestinationPath ./publish/dm_win_x64_${{ needs.release.outputs.version }}.zip - Compress-Archive -Path ./publish/win-x86/* -DestinationPath ./publish/dm_win_x86_${{ needs.release.outputs.version }}.zip - Compress-Archive -Path ./publish/win-arm64/* -DestinationPath ./publish/dm_win_arm64_${{ needs.release.outputs.version }}.zip + Compress-Archive -Path ./publish/win-x64/* -DestinationPath ./publish/ghb_win_x64_${{ needs.release.outputs.version }}.zip + Compress-Archive -Path ./publish/win-x86/* -DestinationPath ./publish/ghb_win_x86_${{ needs.release.outputs.version }}.zip + Compress-Archive -Path ./publish/win-arm64/* -DestinationPath ./publish/ghb_win_arm64_${{ needs.release.outputs.version }}.zip - name: Upload Release Assets win-x64 uses: actions/upload-release-asset@v1 @@ -74,8 +74,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/dm_win_x64_${{ needs.release.outputs.version }}.zip - asset_name: dm_win_x64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/ghb_win_x64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_win_x64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets win-x86 @@ -84,8 +84,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/dm_win_x86_${{ needs.release.outputs.version }}.zip - asset_name: dm_win_x86_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/ghb_win_x86_${{ needs.release.outputs.version }}.zip + asset_name: ghb_win_x86_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets win-arm64 @@ -94,8 +94,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/dm_win_arm64_${{ needs.release.outputs.version }}.zip - asset_name: dm_win_arm64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/ghb_win_arm64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_win_arm64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip linux: @@ -130,11 +130,11 @@ jobs: - name: Zip run: | - (cd linux-x64 && zip -r ../linux-x64/dm_linux_x64_${{ needs.release.outputs.version }}.zip .) - (cd linux-musl-x64 && zip -r ../linux-musl-x64/dm_linux_musl_x64_${{ needs.release.outputs.version }}.zip .) - (cd linux-musl-arm64 && zip -r ../linux-musl-arm64/dm_linux_musl_arm64_${{ needs.release.outputs.version }}.zip .) - (cd linux-arm && zip -r ../linux-arm/dm_linux_arm_${{ needs.release.outputs.version }}.zip .) - (cd linux-arm64 && zip -r ../linux-arm64/dm_linux_arm64_${{ needs.release.outputs.version }}.zip .) + (cd linux-x64 && zip -r ../linux-x64/ghb_linux_x64_${{ needs.release.outputs.version }}.zip .) + (cd linux-musl-x64 && zip -r ../linux-musl-x64/ghb_linux_musl_x64_${{ needs.release.outputs.version }}.zip .) + (cd linux-musl-arm64 && zip -r ../linux-musl-arm64/ghb_linux_musl_arm64_${{ needs.release.outputs.version }}.zip .) + (cd linux-arm && zip -r ../linux-arm/ghb_linux_arm_${{ needs.release.outputs.version }}.zip .) + (cd linux-arm64 && zip -r ../linux-arm64/ghb_linux_arm64_${{ needs.release.outputs.version }}.zip .) working-directory: ./publish/ - name: Upload Release Assets linux-x64 @@ -143,8 +143,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/linux-x64/dm_linux_x64_${{ needs.release.outputs.version }}.zip - asset_name: dm_linux_x64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/linux-x64/ghb_linux_x64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_linux_x64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets linux-musl-x64 @@ -153,8 +153,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/linux-musl-x64/dm_linux_musl_x64_${{ needs.release.outputs.version }}.zip - asset_name: dm_linux_musl_x64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/linux-musl-x64/ghb_linux_musl_x64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_linux_musl_x64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets linux-musl-arm64 @@ -163,8 +163,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/linux-musl-arm64/dm_linux_musl_arm64_${{ needs.release.outputs.version }}.zip - asset_name: dm_linux_musl_arm64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/linux-musl-arm64/ghb_linux_musl_arm64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_linux_musl_arm64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets linux-arm @@ -173,8 +173,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/linux-arm/dm_linux_arm_${{ needs.release.outputs.version }}.zip - asset_name: dm_linux_arm_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/linux-arm/ghb_linux_arm_${{ needs.release.outputs.version }}.zip + asset_name: ghb_linux_arm_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets linux-arm64 @@ -183,8 +183,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/linux-arm64/dm_linux_arm64_${{ needs.release.outputs.version }}.zip - asset_name: dm_linux_arm64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/linux-arm64/ghb_linux_arm64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_linux_arm64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip macos: @@ -216,8 +216,8 @@ jobs: - name: Zip osx-x64 run: | - (cd osx-x64 && zip -r ../osx-x64/dm_osx_x64_${{ needs.release.outputs.version }}.zip .) - (cd osx-arm64 && zip -r ../osx-arm64/dm_osx_arm64_${{ needs.release.outputs.version }}.zip .) + (cd osx-x64 && zip -r ../osx-x64/ghb_osx_x64_${{ needs.release.outputs.version }}.zip .) + (cd osx-arm64 && zip -r ../osx-arm64/ghb_osx_arm64_${{ needs.release.outputs.version }}.zip .) working-directory: ./publish/ - name: Upload Release Assets osx-x64 @@ -226,8 +226,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/osx-x64/dm_osx_x64_${{ needs.release.outputs.version }}.zip - asset_name: dm_osx_x64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/osx-x64/ghb_osx_x64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_osx_x64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip - name: Upload Release Assets osx-arm64 @@ -236,6 +236,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: ./publish/osx-arm64/dm_osx_arm64_${{ needs.release.outputs.version }}.zip - asset_name: dm_osx_arm64_${{ needs.release.outputs.version }}.zip + asset_path: ./publish/osx-arm64/ghb_osx_arm64_${{ needs.release.outputs.version }}.zip + asset_name: ghb_osx_arm64_${{ needs.release.outputs.version }}.zip asset_content_type: application/zip \ No newline at end of file