Skip to content

Commit

Permalink
Merge pull request #2162 from get10101/chore/fix-webapp-version-bump
Browse files Browse the repository at this point in the history
chore: Bump webapp in dedicated step
  • Loading branch information
holzeis committed Mar 6, 2024
2 parents b08a309 + 1a464b5 commit ba17ed8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 415 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/draft_new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
components: rustfmt
- uses: dprint/check@v2.1

- name: Update changelog
uses: thomaseizinger/keep-a-changelog-new-release@v1
with:
version: ${{ github.event.inputs.version }}

- name: Bump pubspec version
uses: fjogeleit/yaml-update-action@v0.12.2
with:
Expand All @@ -48,23 +43,32 @@ jobs:
commitChange: false
updateFile: true

- name: Bump coordinator and webapp Cargo.toml version
- name: Bump coordinator Cargo.toml version
uses: stellar/binaries@v13
with:
name: cargo-edit
version: 0.11.6
- id: set-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
continue-on-error: true
run: |
cargo set-version --package webapp ${{ github.event.inputs.version }}
- name: Commit changelog and manifest files
id: make-commit
run: |
/home/runner/.dprint/bin/dprint fmt
git add CHANGELOG.md mobile/pubspec.yaml coordinator/Cargo.toml
git add mobile/pubspec.yaml coordinator/Cargo.toml webapp/Cargo.toml
git commit --message "Prepare release ${{ github.event.inputs.version }}"
echo "::set-output name=commit::$(git rev-parse HEAD)"
Expand Down

0 comments on commit ba17ed8

Please sign in to comment.