diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6870d1a..de56a02 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -153,49 +153,49 @@ jobs:
ls -lha release-dist
for file in release-dist/**/*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
- # - name: Publish
- # uses: softprops/action-gh-release@v1
- # with:
- # files: release-dist/**/*
- # env:
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- # docker:
- # runs-on: ubuntu-latest
- # needs: github_release
- # steps:
- # - uses: olegtarasov/get-tag@v2.1
- # id: tagName
-
- # - name: Set up QEMU
- # uses: docker/setup-qemu-action@v1
-
- # - name: Set up Docker Buildx
- # uses: docker/setup-buildx-action@v1
-
- # - name: Login to DockerHub
- # uses: docker/login-action@v1
- # with:
- # username: ${{ secrets.DOCKERHUB_USERNAME }}
- # password: ${{ secrets.DOCKERHUB_TOKEN }}
-
- # - name: Build and push
- # id: docker_build
- # uses: docker/build-push-action@v2
- # with:
- # push: true
- # tags: |
- # huacnlee/autocorrect:latest
- # huacnlee/autocorrect:${{ steps.tagName.outputs.tag }}
-
- # - name: Build and push (reviewdog)
- # uses: docker/build-push-action@v2
- # with:
- # push: true
- # file: ./Dockerfile.reviewdog
- # tags: |
- # huacnlee/autocorrect:latest-reviewdog
- # huacnlee/autocorrect:${{ steps.tagName.outputs.tag }}-reviewdog
-
- # - name: Image digest
- # run: echo ${{ steps.docker_build.outputs.digest }}
+ - name: Publish
+ uses: softprops/action-gh-release@v1
+ with:
+ files: release-dist/**/*
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ docker:
+ runs-on: ubuntu-latest
+ needs: github_release
+ steps:
+ - uses: olegtarasov/get-tag@v2.1
+ id: tagName
+
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+
+ - name: Login to DockerHub
+ uses: docker/login-action@v1
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+
+ - name: Build and push
+ id: docker_build
+ uses: docker/build-push-action@v2
+ with:
+ push: true
+ tags: |
+ huacnlee/autocorrect:latest
+ huacnlee/autocorrect:${{ steps.tagName.outputs.tag }}
+
+ - name: Build and push (reviewdog)
+ uses: docker/build-push-action@v2
+ with:
+ push: true
+ file: ./Dockerfile.reviewdog
+ tags: |
+ huacnlee/autocorrect:latest-reviewdog
+ huacnlee/autocorrect:${{ steps.tagName.outputs.tag }}-reviewdog
+
+ - name: Image digest
+ run: echo ${{ steps.docker_build.outputs.digest }}
diff --git a/autocorrect-cli/Cargo.toml b/autocorrect-cli/Cargo.toml
index c9cbcf3..87bb645 100644
--- a/autocorrect-cli/Cargo.toml
+++ b/autocorrect-cli/Cargo.toml
@@ -7,7 +7,7 @@ license = "MIT"
name = "autocorrect-cli"
readme = "../README.md"
repository = "https://github.com/huacnlee/autocorrect"
-version = "2.9.3"
+version = "2.9.4"
[[bin]]
name = "autocorrect"
diff --git a/autocorrect-java/Cargo.toml b/autocorrect-java/Cargo.toml
index dcc852e..512f876 100644
--- a/autocorrect-java/Cargo.toml
+++ b/autocorrect-java/Cargo.toml
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-java"
-version = "2.9.3"
+version = "2.9.4"
[dependencies]
autocorrect = {path = "../autocorrect"}
diff --git a/autocorrect-java/javasrc/pom.xml b/autocorrect-java/javasrc/pom.xml
index 43d2bbb..d87be3a 100644
--- a/autocorrect-java/javasrc/pom.xml
+++ b/autocorrect-java/javasrc/pom.xml
@@ -6,7 +6,7 @@
io.github.huacnlee
autocorrect-java
- 2.9.3
+ 2.9.4
autocorrect-java
A linter and formatter to help you to improve copywriting, correct spaces, words, punctuations between
CJK (Chinese, Japanese, Korean).
diff --git a/autocorrect-node/Cargo.toml b/autocorrect-node/Cargo.toml
index 266f1b9..d9cf365 100644
--- a/autocorrect-node/Cargo.toml
+++ b/autocorrect-node/Cargo.toml
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-node"
-version = "2.9.3"
+version = "2.9.4"
[lib]
crate-type = ["cdylib"]
diff --git a/autocorrect-node/package.json b/autocorrect-node/package.json
index cc58ded..ff2a33e 100644
--- a/autocorrect-node/package.json
+++ b/autocorrect-node/package.json
@@ -1,6 +1,6 @@
{
"name": "autocorrect-node",
- "version": "2.9.3",
+ "version": "2.9.4",
"main": "index.js",
"bin": {
"autocorrect": "./cli.js"
diff --git a/autocorrect-py/Cargo.toml b/autocorrect-py/Cargo.toml
index 9a53dc1..5cf2100 100644
--- a/autocorrect-py/Cargo.toml
+++ b/autocorrect-py/Cargo.toml
@@ -6,7 +6,7 @@ license = "MIT"
name = "autocorrect-py"
readme = "README.md"
repository = "https://github.com/huacnlee/autocorrect"
-version = "2.9.3"
+version = "2.9.4"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
diff --git a/autocorrect-rb/autocorrect-rb.gemspec b/autocorrect-rb/autocorrect-rb.gemspec
index 643f826..ae6108b 100644
--- a/autocorrect-rb/autocorrect-rb.gemspec
+++ b/autocorrect-rb/autocorrect-rb.gemspec
@@ -2,7 +2,7 @@ $:.push File.expand_path("lib", __dir__)
Gem::Specification.new do |s|
s.name = "autocorrect-rb"
- s.version = "2.9.3"
+ s.version = "2.9.4"
s.platform = Gem::Platform::RUBY
s.authors = ["Jason Lee"]
s.email = ["huacnlee@gmail.com"]
diff --git a/autocorrect-rb/ext/autocorrect/Cargo.toml b/autocorrect-rb/ext/autocorrect/Cargo.toml
index ec110ad..ac44b4d 100644
--- a/autocorrect-rb/ext/autocorrect/Cargo.toml
+++ b/autocorrect-rb/ext/autocorrect/Cargo.toml
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-rb"
-version = "2.9.3"
+version = "2.9.4"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
diff --git a/autocorrect-wasm/Cargo.toml b/autocorrect-wasm/Cargo.toml
index d154bcb..bd589c3 100644
--- a/autocorrect-wasm/Cargo.toml
+++ b/autocorrect-wasm/Cargo.toml
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-wasm"
-version = "2.9.3"
+version = "2.9.4"
[lib]
crate-type = ["cdylib", "rlib"]
diff --git a/autocorrect/Cargo.toml b/autocorrect/Cargo.toml
index 14f205c..498b006 100644
--- a/autocorrect/Cargo.toml
+++ b/autocorrect/Cargo.toml
@@ -8,7 +8,7 @@ license = "MIT"
name = "autocorrect"
readme = "../README.md"
repository = "https://github.com/huacnlee/autocorrect"
-version = "2.9.3"
+version = "2.9.4"
[lib]
name = "autocorrect"