From 7804cca85c3160ea23f0aefcfda296deb319ceba Mon Sep 17 00:00:00 2001 From: dagou Date: Thu, 12 Sep 2024 23:09:53 +0800 Subject: [PATCH] refactor --- .github/workflows/rust.yml | 7 +++++++ kr2r/Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2c4c741..fa7ab65 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -6,6 +6,13 @@ name: "publish" # tags: # - '*' +on: + workflow_dispatch: + inputs: + version: + description: 'Release version (e.g., v1.2.3)' + required: true + type: string # This is the example from the readme. # On each push to the `release` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release. diff --git a/kr2r/Cargo.toml b/kr2r/Cargo.toml index 5d329e5..2e18cc7 100644 --- a/kr2r/Cargo.toml +++ b/kr2r/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kun_peng" -version = "0.6.15" +version = "0.7.0" edition = "2021" authors = ["eric9n@gmail.com"] description = "Kun-peng: an ultra-fast, low-memory footprint and accurate taxonomy classifier for all"