File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ plugins:
37
37
to : version = "${nextRelease.version}"
38
38
- - "@semantic-release/exec"
39
39
- prepareCmd : |
40
- cargo make schema && cargo make docs-generate && cargo make release-wasm
40
+ cargo make update-workspace-dependency-versions ${nextRelease.version} && \
41
+ cargo make schema && \
42
+ cargo make docs-generate && \
43
+ cargo make release-wasm
41
44
- - "@semantic-release/github"
42
45
- successComment : false
43
46
assets :
Original file line number Diff line number Diff line change @@ -600,6 +600,19 @@ docker run --rm \
600
600
| jq -r '.'
601
601
'''
602
602
603
+ [tasks .update-workspace-dependency-versions ]
604
+ dependencies = [" install-toml-cli" ]
605
+ script = '''
606
+ next_version=$1
607
+ toml set Cargo.toml workspace.dependencies.axone-cognitarium.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
608
+ toml set Cargo.toml workspace.dependencies.axone-rdf.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
609
+ toml set Cargo.toml workspace.dependencies.axone-wasm.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
610
+ toml set Cargo.toml workspace.dependencies.axone-cognitarium-client.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
611
+ toml set Cargo.toml workspace.dependencies.axone-logic-bindings.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
612
+ toml set Cargo.toml workspace.dependencies.axone-objectarium.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
613
+ toml set Cargo.toml workspace.dependencies.axone-objectarium-client.version $next_version > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
614
+ '''
615
+
603
616
[tasks .install-llvm-tools-preview ]
604
617
install_crate = { rustup_component_name = " llvm-tools-preview" }
605
618
637
650
[tasks .install-cargo-hack ]
638
651
install_crate = { crate_name = " cargo-hack" , min_version = " 0.6.14" }
639
652
653
+ [tasks .install-toml-cli ]
654
+ install_crate = { crate_name = " toml-cli" , min_version = " 0.2.3" }
655
+
640
656
[config ]
641
657
default_to_workspace = false
642
658
min_version = " 0.36.3"
You can’t perform that action at this time.
0 commit comments