Skip to content

Commit

Permalink
Merge pull request #2176 from get10101/fix/draft-release-action
Browse files Browse the repository at this point in the history
fix(ci) cargo set-version needs the package not path
  • Loading branch information
holzeis committed Mar 7, 2024
2 parents 03238cc + ff27fd6 commit 61867e0
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/draft_new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,28 @@ jobs:
commitChange: false
updateFile: true

- name: Bump coordinator Cargo.toml version
- name: Install cargo edit
uses: stellar/binaries@v13
with:
name: cargo-edit
version: 0.11.6
- id: set-coordinator-version
- name: Bump coordinator Cargo.toml version
id: set-coordinator-version
continue-on-error: true
run: |
cargo set-version --package coordinator ${{ github.event.inputs.version }}
- name: Bump webapp Cargo.toml version
uses: stellar/binaries@v13
with:
name: cargo-edit
version: 0.11.6
- id: set-webapp-version
id: set-webapp-version
continue-on-error: true
run: |
cargo set-version --package webapp ${{ github.event.inputs.version }}
- name: Bump mobile/native Cargo.toml version
uses: stellar/binaries@v13
with:
name: cargo-edit
version: 0.11.6
- id: set-mobile-version
id: set-mobile-version
continue-on-error: true
run: |
cargo set-version --package mobile/native ${{ github.event.inputs.version }}
cargo set-version --package native ${{ github.event.inputs.version }}
- name: Commit manifest files
id: make-commit
Expand Down

0 comments on commit 61867e0

Please sign in to comment.