From 432a0097f3648f3fe0c7526041ee5c0b369c8ab9 Mon Sep 17 00:00:00 2001 From: Langston Barrett Date: Sat, 11 Mar 2023 14:11:45 -0500 Subject: [PATCH] v0.1.0 --- .github/workflows/release.yml | 13 ++++++++----- Cargo.lock | 10 +++++----- crates/treereduce-c/Cargo.toml | 6 +++--- crates/treereduce-java/Cargo.toml | 6 +++--- crates/treereduce-rust/Cargo.toml | 6 +++--- crates/treereduce-souffle/Cargo.toml | 6 +++--- crates/treereduce/Cargo.toml | 4 ++-- doc/changelog.md | 2 +- 8 files changed, 28 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cff07c9..5480d4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,8 +38,11 @@ jobs: # Only push on actual release tags PUSH: ${{ startsWith(github.ref, 'refs/tags/v') }} run: | - if [[ ${PUSH} == true ]]; then - cargo publish --token ${CRATES_IO_TOKEN} - else - cargo publish --dry-run --token ${CRATES_IO_TOKEN} - fi + for pkg in treereduce{,-c,-java,-rust,-souffle}; do + if [[ ${PUSH} == true ]]; then + cargo publish --token ${CRATES_IO_TOKEN} -p "${pkg}" + else + cargo publish --dry-run --token ${CRATES_IO_TOKEN} -p "${pkg}" + fi + sleep 5 + done diff --git a/Cargo.lock b/Cargo.lock index 942dc62..b1f05f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -547,7 +547,7 @@ dependencies = [ [[package]] name = "treereduce" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "bencher", @@ -571,7 +571,7 @@ dependencies = [ [[package]] name = "treereduce-c" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "tree-sitter-c", @@ -580,7 +580,7 @@ dependencies = [ [[package]] name = "treereduce-java" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "tree-sitter-java", @@ -589,7 +589,7 @@ dependencies = [ [[package]] name = "treereduce-rust" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "tree-sitter-rust", @@ -598,7 +598,7 @@ dependencies = [ [[package]] name = "treereduce-souffle" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "tree-sitter-souffle", diff --git a/crates/treereduce-c/Cargo.toml b/crates/treereduce-c/Cargo.toml index 76cf115..3b45c0c 100644 --- a/crates/treereduce-c/Cargo.toml +++ b/crates/treereduce-c/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "treereduce-c" description = "Fast, parallel, syntax-aware program reducer for C" -version = "0.0.0" +version = "0.1.0" keywords = ["program-reducer", "test-case-minimization", "test-case-reduction", "c"] edition = "2021" authors = ["Langston Barrett "] license = "MIT" -readme = "README.md" +readme = "../../README.md" homepage = "https://github.com/langston-barrett/treereduce" repository = "https://github.com/langston-barrett/treereduce" [dependencies] anyhow = "1.0" -treereduce = { version = "0.0.0", path = "../treereduce", features = ["cli"] } +treereduce = { version = "0.1.0", path = "../treereduce", features = ["cli"] } tree-sitter-c = "0.20" \ No newline at end of file diff --git a/crates/treereduce-java/Cargo.toml b/crates/treereduce-java/Cargo.toml index 01c9f57..3d02348 100644 --- a/crates/treereduce-java/Cargo.toml +++ b/crates/treereduce-java/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "treereduce-java" description = "Fast, parallel, syntax-aware program reducer for Java" -version = "0.0.0" +version = "0.1.0" keywords = ["program-reducer", "test-case-minimization", "test-case-reduction", "java"] edition = "2021" authors = ["Langston Barrett "] license = "MIT" -readme = "README.md" +readme = "../../README.md" homepage = "https://github.com/langston-barrett/treereduce" repository = "https://github.com/langston-barrett/treereduce" [dependencies] anyhow = "1" -treereduce = { version = "0.0.0", path = "../treereduce", features = ["cli"] } +treereduce = { version = "0.1.0", path = "../treereduce", features = ["cli"] } tree-sitter-java = { version = "0.20", git = 'https://github.com/tree-sitter/tree-sitter-java' } diff --git a/crates/treereduce-rust/Cargo.toml b/crates/treereduce-rust/Cargo.toml index fda9ce9..e4c72c4 100644 --- a/crates/treereduce-rust/Cargo.toml +++ b/crates/treereduce-rust/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "treereduce-rust" description = "Fast, parallel, syntax-aware program reducer for Rust" -version = "0.0.0" +version = "0.1.0" keywords = ["program-reducer", "test-case-minimization", "test-case-reduction", "rust"] edition = "2021" authors = ["Langston Barrett "] license = "MIT" -readme = "README.md" +readme = "../../README.md" homepage = "https://github.com/langston-barrett/treereduce" repository = "https://github.com/langston-barrett/treereduce" [dependencies] anyhow = "1.0" -treereduce = { version = "0.0.0", path = "../treereduce", features = ["cli"] } +treereduce = { version = "0.1.0", path = "../treereduce", features = ["cli"] } tree-sitter-rust = "0.20" \ No newline at end of file diff --git a/crates/treereduce-souffle/Cargo.toml b/crates/treereduce-souffle/Cargo.toml index a89c252..471c8b2 100644 --- a/crates/treereduce-souffle/Cargo.toml +++ b/crates/treereduce-souffle/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "treereduce-souffle" description = "Fast, parallel, syntax-aware program reducer for Soufflé" -version = "0.0.0" +version = "0.1.0" keywords = ["program-reducer", "test-case-minimization", "test-case-reduction", "souffle"] edition = "2021" authors = ["Langston Barrett "] license = "MIT" -readme = "README.md" +readme = "../../README.md" homepage = "https://github.com/langston-barrett/treereduce" repository = "https://github.com/langston-barrett/treereduce" [dependencies] anyhow = "1.0" -treereduce = { version = "0.0.0", path = "../treereduce", features = ["cli"] } +treereduce = { version = "0.1.0", path = "../treereduce", features = ["cli"] } tree-sitter-souffle = { version = "0.4.0" } diff --git a/crates/treereduce/Cargo.toml b/crates/treereduce/Cargo.toml index 81a960c..022a263 100644 --- a/crates/treereduce/Cargo.toml +++ b/crates/treereduce/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "treereduce" description = "Fast, syntax-aware, multi-language program reducer based on delta debugging" -version = "0.0.0" +version = "0.1.0" keywords = ["program-reducer", "test-case-minimization", "test-case-reduction"] edition = "2021" authors = ["Langston Barrett "] license = "MIT" -readme = "README.md" +readme = "../../README.md" homepage = "https://github.com/langston-barrett/treereduce" repository = "https://github.com/langston-barrett/treereduce" diff --git a/doc/changelog.md b/doc/changelog.md index 8c90dc2..c09d2f8 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -2,7 +2,7 @@ -## [0.1.0] - 2022-YY-XX +## [0.1.0] - 2023-03-11 Initial release!