From 9c7112cfec44353e5d136ef21e0b4ef36565c82e Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Tue, 3 Sep 2024 11:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20Update=20version=20for?= =?UTF-8?q?=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++--- scripts/ts/change_swc4j_version.ts | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4a8c8774..c57720c0 100644 --- a/README.md +++ b/README.md @@ -47,18 +47,20 @@ com.caoccao.javet swc4j - 0.11.0 + 1.0.0 ``` ```kotlin // Gradle Kotlin DSL -implementation("com.caoccao.javet:swc4j:0.11.0") +implementation("com.caoccao.javet:swc4j:1.0.0") +implementation("com.caoccao.javet:swc4j-android:1.0.0") ``` ```groovy // Gradle Groovy DSL -implementation 'com.caoccao.javet:swc4j:0.11.0' +implementation 'com.caoccao.javet:swc4j:1.0.0' +implementation 'com.caoccao.javet:swc4j-android:1.0.0' ``` ### Transpile diff --git a/scripts/ts/change_swc4j_version.ts b/scripts/ts/change_swc4j_version.ts index 4582bc3f..07866941 100644 --- a/scripts/ts/change_swc4j_version.ts +++ b/scripts/ts/change_swc4j_version.ts @@ -77,6 +77,7 @@ class ChangeSwc4jVersion { change() { this._change('README.md', [ /swc4j:(?\d+\.\d+\.\d+)/ig, + /swc4j-android:(?\d+\.\d+\.\d+)/ig, /(?\d+\.\d+\.\d+)<\/version>/ig, ], false) this._change('build.gradle.kts', [ @@ -112,5 +113,5 @@ class ChangeSwc4jVersion { } } -const changeSwc4jVersion = new ChangeSwc4jVersion('0.11.0', '1.0.0'); +const changeSwc4jVersion = new ChangeSwc4jVersion('1.0.0', '1.0.0'); changeSwc4jVersion.change()