Skip to content

Commit

Permalink
Release version 2.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed May 22, 2024
1 parent 9c1e6d5 commit d77e63e
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 56 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
# 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/[email protected]
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 }}
2 changes: 1 addition & 1 deletion autocorrect-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-java/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-java"
version = "2.9.3"
version = "2.9.4"

[dependencies]
autocorrect = {path = "../autocorrect"}
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-java/javasrc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.huacnlee</groupId>
<artifactId>autocorrect-java</artifactId>
<version>2.9.3</version>
<version>2.9.4</version>
<name>autocorrect-java</name>
<description>A linter and formatter to help you to improve copywriting, correct spaces, words, punctuations between
CJK (Chinese, Japanese, Korean).
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-node"
version = "2.9.3"
version = "2.9.4"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "autocorrect-node",
"version": "2.9.3",
"version": "2.9.4",
"main": "index.js",
"bin": {
"autocorrect": "./cli.js"
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-rb/autocorrect-rb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ["[email protected]"]
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-rb/ext/autocorrect/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-wasm"
version = "2.9.3"
version = "2.9.4"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
2 changes: 1 addition & 1 deletion autocorrect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d77e63e

Please sign in to comment.