Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci) cargo set-version needs the package not path #2176

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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