Skip to content

Commit

Permalink
v0.1.1-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Apr 1, 2023
1 parent 28b8529 commit 80e8e1d
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 41 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
cargo publish --dry-run --token ${CRATES_IO_TOKEN} -p "${pkg}"
break
fi
sleep 5
# crates.io uses "leaky bucket" rate limiting, with a new token every
# 60s. It takes a bit to build each package, so we use 30s.
sleep 30
done
# Inspired by rustfmt:
Expand Down Expand Up @@ -109,6 +111,8 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
with:
allowUpdates: true
artifactErrorsFailBuild: true
replacesArtifacts: false
artifacts: >
${{ env.NAME }}-c_${{ matrix.target }},
${{ env.NAME }}-css_${{ matrix.target }},
Expand All @@ -117,7 +121,6 @@ jobs:
${{ env.NAME }}-rust_${{ matrix.target }},
${{ env.NAME }}-typescript_${{ matrix.target }},
${{ env.NAME }}-swift_${{ matrix.target }}
artifactErrorsFailBuild: true
body: "See [CHANGELOG.md](https://github.com/langston-barrett/${{ env.NAME }}/blob/main/CHANGELOG.md)."
draft: true
token: ${{ secrets.GITHUB_TOKEN }}
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/mogglo-c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-c"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-c = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-cpp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-cpp"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-cpp = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-css/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-css"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-css = "0.19"
4 changes: 2 additions & 2 deletions crates/mogglo-haskell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-haskell"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-haskell = { git = "https://github.com/tree-sitter/tree-sitter-haskell" }
4 changes: 2 additions & 2 deletions crates/mogglo-html/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-html"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-html = "0.19"
4 changes: 2 additions & 2 deletions crates/mogglo-java/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-java"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-java = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-javascript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-javascript"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-javascript = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-python"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-python = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-ruby/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-ruby"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-ruby = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-rust"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-rust = "0.20"
4 changes: 2 additions & 2 deletions crates/mogglo-swift/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-swift"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-swift = "0.3"
4 changes: 2 additions & 2 deletions crates/mogglo-typescript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo-typescript"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand All @@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/mogglo"

[dependencies]
anyhow = "1"
mogglo = { version = "0.1.1-rc.1", features = ["cli"], path = "../mogglo" }
mogglo = { version = "0.1.1-rc.2", features = ["cli"], path = "../mogglo" }
tree-sitter-typescript = "0.20"
2 changes: 1 addition & 1 deletion crates/mogglo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mogglo"
version = "0.1.1-rc.1"
version = "0.1.1-rc.2"
edition = "2021"
description = "Multi-language AST-based code search and rewriting"
keywords = ["ast", "codemod", "code-search", "grep", "tree-sitter"]
Expand Down
2 changes: 1 addition & 1 deletion doc/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mdbook build
- Update the version numbers in `./crates/**/Cargo.toml`

```sh
find crates/ -type f -name "*.toml" -0 | \
find crates/ -type f -name "*.toml" -print0 | \
xargs -0 sed -E -i 's/^version = "U.V.W"$/version = "X.Y.Z"/'
```

Expand Down

0 comments on commit 80e8e1d

Please sign in to comment.