Skip to content

Commit

Permalink
bump version numbers and split up the release flow
Browse files Browse the repository at this point in the history
(a workaround for katyo/publish-crates#291 )
  • Loading branch information
Tomas Tauber authored and tomtau committed Jul 29, 2022
1 parent eeb4545 commit d1935d4
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 16 deletions.
43 changes: 42 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,49 @@ jobs:
- name: Bootstraping Grammars - Executing
run: cargo run --package pest_bootstrap
# it should figure out the right order: https://github.com/katyo/publish-crates#features
- name: Publish crates
- name: Publish pest
uses: katyo/publish-crates@v1
with:
path: './pest'
args: --allow-dirty --all-features
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: update
run: cargo update
- name: Publish pest_meta
uses: katyo/publish-crates@v1
with:
path: './meta'
args: --allow-dirty --all-features
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: update
run: cargo update
- name: Publish pest_vm
uses: katyo/publish-crates@v1
with:
path: './vm'
args: --allow-dirty --all-features
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: update
run: cargo update
- name: Publish pest_generator
uses: katyo/publish-crates@v1
with:
path: './generator'
args: --allow-dirty --all-features
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: update
run: cargo update
- name: Publish pest_derive
uses: katyo/publish-crates@v1
with:
path: './derive'
args: --allow-dirty --all-features
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: update
run: cargo update
- name: Publish pest_grammars
uses: katyo/publish-crates@v1
with:
path: './grammars'
args: --allow-dirty --all-features
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
6 changes: 3 additions & 3 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pest_derive"
description = "pest's derive macro"
version = "2.2.0"
version = "2.2.1"
edition = "2018"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
Expand All @@ -23,5 +23,5 @@ std = ["pest/std", "pest_generator/std"]

[dependencies]
# for tests, included transitively anyway
pest = { path = "../pest", version = "2.2.0", default-features = false }
pest_generator = { path = "../generator", version = "2.2.0", default-features = false }
pest = { path = "../pest", version = "2.2.1", default-features = false }
pest_generator = { path = "../generator", version = "2.2.1", default-features = false }
6 changes: 3 additions & 3 deletions generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pest_generator"
description = "pest code generator"
version = "2.2.0"
version = "2.2.1"
edition = "2018"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
Expand All @@ -18,8 +18,8 @@ default = ["std"]
std = ["pest/std"]

[dependencies]
pest = { path = "../pest", version = "2.2.0", default-features = false }
pest_meta = { path = "../meta", version = "2.2.0" }
pest = { path = "../pest", version = "2.2.1", default-features = false }
pest_meta = { path = "../meta", version = "2.2.1" }
proc-macro2 = "1.0"
quote = "1.0"
syn = "1.0"
6 changes: 3 additions & 3 deletions grammars/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pest_grammars"
description = "pest popular grammar implementations"
version = "2.2.0"
version = "2.2.1"
edition = "2018"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
Expand All @@ -14,8 +14,8 @@ readme = "_README.md"
rust-version = "1.56"

[dependencies]
pest = { path = "../pest", version = "2.2.0" }
pest_derive = { path = "../derive", version = "2.2.0" }
pest = { path = "../pest", version = "2.2.1" }
pest_derive = { path = "../derive", version = "2.2.1" }

[dev-dependencies]
criterion = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pest_meta"
description = "pest meta language parser and validator"
version = "2.2.0"
version = "2.2.1"
edition = "2018"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
Expand All @@ -16,7 +16,7 @@ include = ["Cargo.toml", "src/**/*", "src/grammar.rs", "_README.md", "LICENSE-*"
rust-version = "1.56"

[dependencies]
pest = { path = "../pest", version = "2.2.0" }
pest = { path = "../pest", version = "2.2.1" }
once_cell = "1.8.0"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pest"
description = "The Elegant Parser"
version = "2.2.0"
version = "2.2.1"
edition = "2018"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
Expand Down
6 changes: 3 additions & 3 deletions vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pest_vm"
description = "pest grammar virtual machine"
version = "2.2.0"
version = "2.2.1"
edition = "2018"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
Expand All @@ -14,5 +14,5 @@ readme = "_README.md"
rust-version = "1.56"

[dependencies]
pest = { path = "../pest", version = "2.2.0" }
pest_meta = { path = "../meta", version = "2.2.0" }
pest = { path = "../pest", version = "2.2.1" }
pest_meta = { path = "../meta", version = "2.2.1" }

0 comments on commit d1935d4

Please sign in to comment.