Skip to content

Commit e212386

Browse files
authored
Version snforge_scarb_plugin (#2518)
<!-- Reference any GitHub issues resolved by this PR --> Closes #2510 ## Introduced changes <!-- A brief description of the changes --> - `snforge_scarb_plugin` is now correctly versioned using the package version ## Checklist <!-- Make sure all of these are complete --> - [x] Linked relevant issue - [x] Updated relevant documentation - [x] Added relevant tests - [x] Performed self-review of the code - [x] Added changes to `CHANGELOG.md`
1 parent 3638f02 commit e212386

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3131

3232
- For Scarb >= `2.8.3` contract artifacts are built as part of the test target now. This process speeds up the compilation time, but the behavior of the contracts potentially may not be 100% consistent with the real networks. It can be disabled using the [--no-optimization flag](https://foundry-rs.github.io/starknet-foundry/appendix/snforge/test.html#--no-optimization)
3333

34-
3534
#### Changed
3635

3736
- `snforge` now validates if your project is setup to generate debug info needed for `cairo-coverage` when running `--coverage` flag
3837

38+
### `snforge_scarb_plugin`
39+
40+
#### Fixed
41+
42+
- The package is now correctly versioned
43+
3944
## [0.30.0] - 2024-09-04
4045

4146
### Forge

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/snforge-scarb-plugin/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "snforge-scarb-plugin"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
55
publish = false
66

77
[lib]

scripts/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ scarb --manifest-path sncast_std/Scarb.toml build
1616
sed -i.bak "/\[package\]/,/version =/ s/version = \".*/version = \"${VERSION}\"/" snforge_std/Scarb.toml
1717
rm snforge_std/Scarb.toml.bak 2> /dev/null
1818

19+
sed -i.bak "/\[package\]/,/version =/ s/version = \".*/version = \"${VERSION}\"/" crates/snforge-scarb-plugin/Scarb.toml
20+
rm crates/snforge-scarb-plugin/Scarb.toml.bak 2> /dev/null
21+
1922
scarb --manifest-path snforge_std/Scarb.toml build
2023

2124
cargo update -p forge

0 commit comments

Comments
 (0)