From 7ab475011f53acf5808d7e4306449bb1200b5763 Mon Sep 17 00:00:00 2001 From: renatoathaydes Date: Wed, 8 Apr 2020 13:52:32 +0200 Subject: [PATCH] Fix version extraction in gh-actions. --- .github/workflows/build.yml | 15 ++++++--------- build.gradle | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d5823a..ecfbc9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,11 +26,10 @@ jobs: - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ steps.get_version.outputs.VERSION }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: build/logfx-${{ VERSION }}.zip - asset_name: logfx-${{ VERSION }}-linux.zip + asset_path: build/logfx-${{ steps.get_version.outputs.VERSION }}.zip + asset_name: logfx-${{ steps.get_version.outputs.VERSION }}-linux.zip asset_content_type: application/zip build-mac: runs-on: macos-latest @@ -55,11 +54,10 @@ jobs: - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ steps.get_version.outputs.VERSION }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: build/logfx-${{ VERSION }}.zip - asset_name: logfx-${{ VERSION }}-mac.zip + asset_path: build/logfx-${{ steps.get_version.outputs.VERSION }}.zip + asset_name: logfx-${{ steps.get_version.outputs.VERSION }}-mac.zip asset_content_type: application/zip build-win: runs-on: windows-latest @@ -84,9 +82,8 @@ jobs: - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ steps.get_version.outputs.VERSION }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: build/logfx-${{ VERSION }}.zip - asset_name: logfx-${{ VERSION }}-windows.zip + asset_path: build/logfx-${{ steps.get_version.outputs.VERSION }}.zip + asset_name: logfx-${{ steps.get_version.outputs.VERSION }}-windows.zip asset_content_type: application/zip diff --git a/build.gradle b/build.gradle index 3c2f2e6..958febe 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { } group 'com.athaydes.logfx' -version '1.0-RC8' +version '1.0-RC9' description 'A beautiful log viewer capable of handling large files' sourceCompatibility = JavaVersion.VERSION_11