Skip to content

Commit c23fd32

Browse files
authored
internal: fix cargo metadata (#677)
1 parent adc0c1a commit c23fd32

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }
5959

6060
# local
6161
# we have to make the versions explicit otherwise `cargo publish` won't work
62-
squawk-github = { path = "./crates/squawk_github", version = "2.27.0" }
63-
squawk-ide = { path = "./crates/squawk_ide", version = "2.27.0" }
64-
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
65-
squawk-parser = { path = "./crates/squawk_parser", version = "2.27.0" }
66-
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }
67-
squawk-linter = { path = "./crates/squawk_linter", version = "2.27.0" }
68-
squawk-server = { path = "./crates/squawk_server", version = "2.27.0" }
62+
squawk-github = { path = "./crates/squawk_github", version = "2.28.1" }
63+
squawk-ide = { path = "./crates/squawk_ide", version = "2.28.1" }
64+
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.28.1" }
65+
squawk-parser = { path = "./crates/squawk_parser", version = "2.28.1" }
66+
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.28.1" }
67+
squawk-linter = { path = "./crates/squawk_linter", version = "2.28.1" }
68+
squawk-server = { path = "./crates/squawk_server", version = "2.28.1" }
6969

7070
[workspace.lints.clippy]
7171
collapsible_else_if = "allow"

crates/squawk_ide/Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
[package]
22
name = "squawk-ide"
33
version.workspace = true
4-
edition.workspace = true
5-
rust-version.workspace = true
4+
description.workspace = true
5+
documentation.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
8+
69
authors.workspace = true
10+
edition.workspace = true
711
license.workspace = true
12+
rust-version.workspace = true
813

914
[dependencies]
1015
squawk-syntax.workspace = true

crates/squawk_lexer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository.workspace = true
88

99
authors.workspace = true
1010
edition.workspace = true
11-
license = "MIT"
11+
license.workspace = true
1212
rust-version.workspace = true
1313

1414
[lib]

s/update-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ main() {
2626
git checkout -b "release-$NEW_VERSION"
2727
echo "updating version to '$NEW_VERSION'..."
2828
fastmod --accept-all '^version = ".*"' 'version = "'$NEW_VERSION'"' Cargo.toml
29-
fastmod --accept-all '(squawk_[a-z_]+ = \{ path = "[^"]+", )version = "[^"]+"' '${1}version = "'$NEW_VERSION'"' Cargo.toml
29+
fastmod --accept-all '(squawk-[a-z_]+ = \{ path = "[^"]+", )version = "[^"]+"' '${1}version = "'$NEW_VERSION'"' Cargo.toml
3030
fastmod --accept-all -m '(name = "squawk"\n)version = ".*?"' '${1}version = "'$NEW_VERSION'"' Cargo.lock
3131
fastmod --accept-all '"version": ".*"' '"version": "'$NEW_VERSION'"' package.json
3232
fastmod --accept-all '"version": ".*"' '"version": "'$NEW_VERSION'"' squawk-vscode/package.json

0 commit comments

Comments
 (0)