Skip to content

Commit

Permalink
chore: no longer use python
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-online committed Apr 12, 2023
1 parent 493fc27 commit eb77410
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ jobs:
- name: Set Release env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Set release version
run: |
./scripts/bump.sh ${{ env.RELEASE_VERSION }}
exit 1
- name: Bump Release version
run: ./scripts/bump.sh ${{ env.RELEASE_VERSION }}

- name: Setup Node
uses: josh-development/.github/setup-node@main
Expand All @@ -40,9 +38,6 @@ jobs:
src-tauri/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Tweak package.json
run: python3 -c "import os; import json; p = json.load(open('package.json')); p['version'] = os.environ['RELEASE_VERSION']; json.dump(p, open('package.json', 'w'), indent=2, ensure_ascii=False);"

- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down

0 comments on commit eb77410

Please sign in to comment.