Skip to content

Commit

Permalink
📝 semantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Dec 27, 2023
1 parent 1aae9c3 commit 5d280d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
17 changes: 1 addition & 16 deletions readme-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ java8, 0依赖,是guava, `commons-*`的补充。
<dependency>
<groupId>pro.fessional</groupId>
<artifactId>mirana</artifactId>
<version>2.0.0</version>
<version>${mirana.version}</version>
</dependency>
```

Expand All @@ -46,21 +46,6 @@ java8, 0依赖,是guava, `commons-*`的补充。
* Help - 表示和业务关联的或有生命周期的辅助类
* Util - 表示静态线程安全的工具类

## 开个根号

版本号为开根号+三段法,如√2对应的`1.4.0`, `1.4.1`, `1.4.14`
若版本不够且不想跳版本,则无限的写下去`1.4.14213562373095`

* √1 = `1.0.0`
* √2 = `1.4.0`, `1.4.1`, `1.4.14`
* √3 = `1.7.0`, `1.7.3`, `1.7.32`
* √4 = `2.0.0`
* √5 = `2.2.0`, `2.2.3`, `2.2.4`
* √6 = `2.4.0`, `2.4.4`, `2.4.5`
* √7 = `2.6.0`, `2.6.4`, `2.6.5`
* √8 = `2.8.0`, `2.8.2`, `2.8.3`
* √9 = `3.0.0`

## 详细文档

* <https://wings.fessional.pro/zh/a-mirana/>
Expand Down
17 changes: 1 addition & 16 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ java8, 0-dependency, is an addition to guava, `commons-*`.
<dependency>
<groupId>pro.fessional</groupId>
<artifactId>mirana</artifactId>
<version>2.0.0</version>
<version>${mirana.version}</version>
</dependency>
```

Expand All @@ -46,21 +46,6 @@ java8, 0-dependency, is an addition to guava, `commons-*`.
* Help - business-related or lifecycle helper class
* Util - static thread-safe tool class

## Square Root (sqrt)

The version number is `sqrt` + `3-part version` pattern, e.g. √2 are `1.4.0`, `1.4.1`, `1.4.14`.
If the version is not enough, then write infinitely `1.4.14213562373095`

* √1 = `1.0.0`
* √2 = `1.4.0`, `1.4.1`, `1.4.14`
* √3 = `1.7.0`, `1.7.3`, `1.7.32`
* √4 = `2.0.0`
* √5 = `2.2.0`, `2.2.3`, `2.2.4`
* √6 = `2.4.0`, `2.4.4`, `2.4.5`
* √7 = `2.6.0`, `2.6.4`, `2.6.5`
* √8 = `2.8.0`, `2.8.2`, `2.8.3`
* √9 = `3.0.0`

## Detailed Documents

* <https://wings.fessional.pro/a-mirana/>
Expand Down

0 comments on commit 5d280d6

Please sign in to comment.