Skip to content

Commit

Permalink
disable version manipulation in release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sschiessl-bcp committed Feb 18, 2022
1 parent 488b279 commit 2c1872c
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 2c1872c

Please sign in to comment.