-
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added a release flow and bumped crate versions to 2.2.0
the used GitHub action should hopefully figure out the correct order for publishing the crates automatically
- Loading branch information
Showing
8 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: pest Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
|
||
publish: | ||
name: Publish crates on release | ||
runs-on: ubuntu-latest | ||
environment: release | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install toolchain | ||
uses: dtolnay/[email protected] | ||
- name: Bootstraping Grammars - Building | ||
run: cargo build --package pest_bootstrap | ||
- 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 | ||
uses: katyo/publish-crates@v1 | ||
with: | ||
args: --allow-dirty --all-features | ||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1.0" | ||
version = "2.2.0" | ||
edition = "2018" | ||
authors = ["Dragoș Tiselice <[email protected]>"] | ||
homepage = "https://pest-parser.github.io/" | ||
|
@@ -23,5 +23,5 @@ std = ["pest/std", "pest_generator/std"] | |
|
||
[dependencies] | ||
# for tests, included transitively anyway | ||
pest = { path = "../pest", version = "2.1.0", default-features = false } | ||
pest_generator = { path = "../generator", version = "2.1.0", default-features = false } | ||
pest = { path = "../pest", version = "2.2.0", default-features = false } | ||
pest_generator = { path = "../generator", version = "2.2.0", default-features = false } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "pest_generator" | ||
description = "pest code generator" | ||
version = "2.1.4" | ||
version = "2.2.0" | ||
edition = "2018" | ||
authors = ["Dragoș Tiselice <[email protected]>"] | ||
homepage = "https://pest-parser.github.io/" | ||
|
@@ -18,8 +18,8 @@ default = ["std"] | |
std = ["pest/std"] | ||
|
||
[dependencies] | ||
pest = { path = "../pest", version = "2.1.0", default-features = false } | ||
pest_meta = { path = "../meta", version = "2.1.0" } | ||
pest = { path = "../pest", version = "2.2.0", default-features = false } | ||
pest_meta = { path = "../meta", version = "2.2.0" } | ||
proc-macro2 = "1.0" | ||
quote = "1.0" | ||
syn = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1.0" | ||
version = "2.2.0" | ||
edition = "2018" | ||
authors = ["Dragoș Tiselice <[email protected]>"] | ||
homepage = "https://pest-parser.github.io/" | ||
|
@@ -14,8 +14,8 @@ readme = "_README.md" | |
rust-version = "1.56" | ||
|
||
[dependencies] | ||
pest = { path = "../pest", version = "2.1.0" } | ||
pest_derive = { path = "../derive", version = "2.1.0" } | ||
pest = { path = "../pest", version = "2.2.0" } | ||
pest_derive = { path = "../derive", version = "2.2.0" } | ||
|
||
[dev-dependencies] | ||
criterion = "0.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1.3" | ||
version = "2.2.0" | ||
edition = "2018" | ||
authors = ["Dragoș Tiselice <[email protected]>"] | ||
homepage = "https://pest-parser.github.io/" | ||
|
@@ -16,7 +16,7 @@ include = ["Cargo.toml", "src/**/*", "src/grammar.rs", "_README.md", "LICENSE-*" | |
rust-version = "1.56" | ||
|
||
[dependencies] | ||
pest = { path = "../pest", version = "2.1.0" } | ||
pest = { path = "../pest", version = "2.2.0" } | ||
once_cell = "1.8.0" | ||
|
||
[build-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "pest" | ||
description = "The Elegant Parser" | ||
version = "2.1.3" | ||
version = "2.2.0" | ||
edition = "2018" | ||
authors = ["Dragoș Tiselice <[email protected]>"] | ||
homepage = "https://pest-parser.github.io/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1.0" | ||
version = "2.2.0" | ||
edition = "2018" | ||
authors = ["Dragoș Tiselice <[email protected]>"] | ||
homepage = "https://pest-parser.github.io/" | ||
|
@@ -14,5 +14,5 @@ readme = "_README.md" | |
rust-version = "1.56" | ||
|
||
[dependencies] | ||
pest = { path = "../pest", version = "2.1.0" } | ||
pest_meta = { path = "../meta", version = "2.1.0" } | ||
pest = { path = "../pest", version = "2.2.0" } | ||
pest_meta = { path = "../meta", version = "2.2.0" } |