diff --git a/budoux/__init__.py b/budoux/__init__.py
index af76c0f1..ab52d64d 100644
--- a/budoux/__init__.py
+++ b/budoux/__init__.py
@@ -15,7 +15,7 @@
from . import parser
-__version__ = "0.8.0rc1"
+__version__ = "0.8.0"
Parser = parser.Parser
load_default_japanese_parser = parser.load_default_japanese_parser
diff --git a/bump_version.py b/bump_version.py
index b29ac986..4e1411d6 100644
--- a/bump_version.py
+++ b/bump_version.py
@@ -29,7 +29,7 @@ def main():
init_file = 'budoux/__init__.py'
with open(init_file, 'r') as f:
content = f.read()
- new_content = re.sub(r'(__version__\s+=\s+[\'"])([\.\d]+)([\'"])',
+ new_content = re.sub(r'(__version__\s+=\s+[\'"])([\.\w]+)([\'"])',
rf'\g<1>{new_version}\g<3>', content)
with open(init_file, 'w') as f:
f.write(new_content)
@@ -49,7 +49,7 @@ def main():
cli_file = 'javascript/src/cli.ts'
with open(cli_file, 'r') as f:
content = f.read()
- new_content = re.sub(r'(const\s+CLI_VERSION\s+=\s+[\'"])([\.\d]+)([\'"])',
+ new_content = re.sub(r'(const\s+CLI_VERSION\s+=\s+[\'"])([\.\-\w]+)([\'"])',
rf'\g<1>{new_version}\g<3>', content)
with open(cli_file, 'w') as f:
f.write(new_content)
diff --git a/java/pom.xml b/java/pom.xml
index 302f4f9c..9dd67eff 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -20,7 +20,7 @@
com.google.budoux
budoux
- 0.8.0-rc1
+ 0.8.0
BudouX
BudouX: A standalone, small, and language-neutral segmenter library
diff --git a/javascript/package-lock.json b/javascript/package-lock.json
index 8e0eacea..bee70420 100644
--- a/javascript/package-lock.json
+++ b/javascript/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "budoux",
- "version": "0.8.0-rc1",
+ "version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "budoux",
- "version": "0.8.0-rc1",
+ "version": "0.8.0",
"license": "Apache-2.0",
"dependencies": {
"commander": "^14.0.0",
diff --git a/javascript/package.json b/javascript/package.json
index 511ff547..d04a7952 100644
--- a/javascript/package.json
+++ b/javascript/package.json
@@ -1,6 +1,6 @@
{
"name": "budoux",
- "version": "0.8.0-rc1",
+ "version": "0.8.0",
"description": "A small chunk segmenter.",
"author": "Shuhei Iitsuka",
"license": "Apache-2.0",
diff --git a/javascript/src/cli.ts b/javascript/src/cli.ts
index 8d334d49..309c22d4 100644
--- a/javascript/src/cli.ts
+++ b/javascript/src/cli.ts
@@ -24,7 +24,7 @@ import {
loadDefaultParsers,
} from './index.js';
-const CLI_VERSION = '0.8.0-rc1';
+const CLI_VERSION = '0.8.0';
const defaultParsers = loadDefaultParsers();
/**