Skip to content

Commit

Permalink
🐳 chore: Update version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Sep 3, 2024
1 parent 86a0912 commit 9c7112c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,20 @@
<dependency>
<groupId>com.caoccao.javet</groupId>
<artifactId>swc4j</artifactId>
<version>0.11.0</version>
<version>1.0.0</version>
</dependency>
```

```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
Expand Down
3 changes: 2 additions & 1 deletion scripts/ts/change_swc4j_version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class ChangeSwc4jVersion {
change() {
this._change('README.md', [
/swc4j:(?<version>\d+\.\d+\.\d+)/ig,
/swc4j-android:(?<version>\d+\.\d+\.\d+)/ig,
/<version>(?<version>\d+\.\d+\.\d+)<\/version>/ig,
], false)
this._change('build.gradle.kts', [
Expand Down Expand Up @@ -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()

0 comments on commit 9c7112c

Please sign in to comment.