Skip to content

1.0.20-beta.2+34

Pre-release
Pre-release
Compare
Choose a tag to compare
@VillagerTom VillagerTom released this 10 Jun 06:25
· 262 commits to main since this release
6aca1bb
Mod version (#9)

* 统计当前分支第一父提交数作为子版本号

* 打印version变量

* 修正version的格式错误

* 修正语法错误

* 检查当前HEAD?

* 检查当前HEAD

* 末端提交应由HEAD改为FETCH_HEAD

* 避免替换Flutter build-number

* 限制仅在push到main分支时触发Action

* Revert "末端提交应由HEAD改为FETCH_HEAD"

This reverts commit df5b6d0552d173f22e4e40a27366ee3ea4178c65.

* 使用参数`fetch-depth: 0`取得所有分支和tags, 改回HEAD作为统计中的末端提交

* 匹配*.*.*+*格式tag

* 修正filter语法错误

* 改为根据上一个tag计算版本号

* 逻辑短路改为if-else结构

* fix typo