Skip to content

Commit 2c1872c

Browse files
committed
disable version manipulation in release flow
1 parent 488b279 commit 2c1872c

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/build-release-binaries.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
uses: actions/setup-node@v1
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
- run: brew install jq
24-
- run: echo "PackageVersion=$(cat package.json | jq '.version' | sed 's/\"//g')" >> $GITHUB_ENV
25-
- name: Update package.json
26-
run: |
27-
sed -i -e "s/${{ env.PackageVersion }}/${{ github.ref_name }}/g" package.json
28-
- run: yarn
23+
#- run: brew install jq
24+
#- run: echo "PackageVersion=$(cat package.json | jq '.version' | sed 's/\"//g')" >> $GITHUB_ENV
25+
#- name: Update package.json
26+
# run: |
27+
# sed -i -e "s/${{ env.PackageVersion }}/${{ github.ref_name }}/g" package.json
28+
- run: yarn install --network-concurrency 1 --frozen-lockfile
2929
- name: Build package
3030
run: npm run prepackage
3131
- name: Build dmg
@@ -82,7 +82,8 @@ jobs:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8383
with:
8484
upload_url: ${{ steps.create_release.outputs.upload_url }}
85-
asset_path: ./build/binaries/BitShares_${{ github.ref_name }}.dmg
85+
asset_path:
86+
./build/binaries/BitShares_${{ github.ref_name }}.dmg
8687
asset_name: BitShares_${{ github.ref_name }}.dmg
8788
asset_content_type: application/octet-stream
8889
- name: Upload deb
@@ -91,7 +92,8 @@ jobs:
9192
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9293
with:
9394
upload_url: ${{ steps.create_release.outputs.upload_url }}
94-
asset_path: ./build/binaries/BitShares_${{ github.ref_name }}.deb
95+
asset_path:
96+
./build/binaries/BitShares_${{ github.ref_name }}.deb
9597
asset_name: BitShares_${{ github.ref_name }}.deb
9698
asset_content_type: application/x-deb
9799
- name: Upload exe
@@ -100,6 +102,7 @@ jobs:
100102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101103
with:
102104
upload_url: ${{ steps.create_release.outputs.upload_url }}
103-
asset_path: ./build/binaries/BitShares_${{ github.ref_name }}.exe
105+
asset_path:
106+
./build/binaries/BitShares_${{ github.ref_name }}.exe
104107
asset_name: BitShares_${{ github.ref_name }}.exe
105108
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)