Skip to content

Commit

Permalink
fix versioning and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Jul 7, 2024
1 parent 40764ab commit 4a7e15d
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 19 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
args: -p rookie
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- run: cargo publish -p rookie
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
4 changes: 2 additions & 2 deletions bindings/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "thewh1teagle_rookie"
version = "0.5.2-beta.1"
version = "0.5.2-beta.4"

[lib]
crate-type = ["cdylib"]
Expand All @@ -10,7 +10,7 @@ crate-type = ["cdylib"]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.12.2", default-features = false, features = ["napi4"] }
napi-derive = "2.12.2"
rookie = { path = "../../rookie-rs", version = "0.5.2-beta.0" }
rookie = { path = "../../rookie-rs", version = "0.5.2-beta.4" }

[build-dependencies]
napi-build = "2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion bindings/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rookie-rs/api",
"version": "0.5.2-beta.1",
"version": "0.5.2-beta.4",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rookiepy"
version = "0.5.2-beta.2"
version = "0.5.2-beta.4"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -11,6 +11,6 @@ crate-type = ["cdylib"]
[dependencies]
pyo3 = "0.20.3"
pyo3-log = "0.9.0"
rookie = { path = "../../rookie-rs", version = "0.5.2-beta.0", features = [
rookie = { path = "../../rookie-rs", version = "0.5.2-beta.4", features = [
"pyo3",
] }
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "cli"
version = "0.5.2-beta.0"
version = "0.5.2-beta.4"
edition = "2021"

[dependencies]
clap = { version = "4.4.6", features = ["derive"] }
env_logger = { version = "0.11.3", features = ["color"] }
lazy_static = "1.4.0"
rookie = { path = "../rookie-rs", version = "0.5.2-beta.0" }
rookie = { path = "../rookie-rs", version = "0.5.2-beta.4" }
serde_json = "1.0.107"
2 changes: 1 addition & 1 deletion examples/rust/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
[dependencies]
regex = "1.9.5"
reqwest = { version = "0.11.20", features = ["blocking"] }
rookie = { path = "../../../rookie-rs", version = "0.5.2-beta.0" }
rookie = { path = "../../../rookie-rs", version = "0.5.2-beta.4" }
2 changes: 1 addition & 1 deletion examples/rust/logging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
env_logger = { version = "0.11.3", features = ["color"] }
rookie = { path = "../../../rookie-rs", version = "0.5.2-beta.0" }
rookie = { path = "../../../rookie-rs", version = "0.5.2-beta.4" }
2 changes: 1 addition & 1 deletion rookie-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rookie"
version = "0.5.2-beta.3"
version = "0.5.2-beta.4"
edition = "2021"
description = "Load cookie from your web browsers"
license-file = "MIT-LICENSE.txt"
Expand Down

0 comments on commit 4a7e15d

Please sign in to comment.