From 2c1872ca4f950267cfda6a75868545da5aa1bd10 Mon Sep 17 00:00:00 2001 From: Stefan Date: Fri, 18 Feb 2022 09:09:08 +0100 Subject: [PATCH] disable version manipulation in release flow --- .github/workflows/build-release-binaries.yml | 21 +++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index 7304df0bd8..3361e854c6 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -20,12 +20,12 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: brew install jq - - run: echo "PackageVersion=$(cat package.json | jq '.version' | sed 's/\"//g')" >> $GITHUB_ENV - - name: Update package.json - run: | - sed -i -e "s/${{ env.PackageVersion }}/${{ github.ref_name }}/g" package.json - - run: yarn + #- run: brew install jq + #- run: echo "PackageVersion=$(cat package.json | jq '.version' | sed 's/\"//g')" >> $GITHUB_ENV + #- name: Update package.json + # run: | + # sed -i -e "s/${{ env.PackageVersion }}/${{ github.ref_name }}/g" package.json + - run: yarn install --network-concurrency 1 --frozen-lockfile - name: Build package run: npm run prepackage - name: Build dmg @@ -82,7 +82,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./build/binaries/BitShares_${{ github.ref_name }}.dmg + asset_path: + ./build/binaries/BitShares_${{ github.ref_name }}.dmg asset_name: BitShares_${{ github.ref_name }}.dmg asset_content_type: application/octet-stream - name: Upload deb @@ -91,7 +92,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./build/binaries/BitShares_${{ github.ref_name }}.deb + asset_path: + ./build/binaries/BitShares_${{ github.ref_name }}.deb asset_name: BitShares_${{ github.ref_name }}.deb asset_content_type: application/x-deb - name: Upload exe @@ -100,6 +102,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./build/binaries/BitShares_${{ github.ref_name }}.exe + asset_path: + ./build/binaries/BitShares_${{ github.ref_name }}.exe asset_name: BitShares_${{ github.ref_name }}.exe asset_content_type: application/octet-stream