Skip to content

Commit f7e4c05

Browse files
committed
Make: Upgrade TinySemVer
1 parent 2ef547c commit f7e4c05

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/prerelease.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,20 @@ jobs:
2828
fetch-depth: 0
2929
persist-credentials: false
3030
- name: Run TinySemVer
31-
uses: ashvardanian/tinysemver@v1.4.1
31+
uses: ashvardanian/tinysemver@v2.0.1
3232
with:
3333
verbose: "true"
3434
version-file: "VERSION"
35-
update-version-in: 'pyproject.toml,^version = "(\d+\.\d+\.\d+)"'
36-
update-version-in: 'Cargo.toml,^version = "(\d+\.\d+\.\d+)"'
37-
update-version-in: 'package.json,"version": "(\d+\.\d+\.\d+)"'
38-
update-version-in: 'CITATION.cff,^version: (\d+\.\d+\.\d+)'
39-
update-version-in: 'CMakeLists.txt,VERSION (\d+\.\d+\.\d+)'
40-
update-major-version-in: 'include/stringzilla/stringzilla.h,^#define STRINGZILLA_VERSION_MAJOR (\d+)'
41-
update-minor-version-in: 'include/stringzilla/stringzilla.h,^#define STRINGZILLA_VERSION_MINOR (\d+)'
42-
update-patch-version-in: 'include/stringzilla/stringzilla.h,^#define STRINGZILLA_VERSION_PATCH (\d+)'
35+
update-version-in: |
36+
Cargo.toml:^version = "(\d+\.\d+\.\d+)"
37+
package.json:"version": "(\d+\.\d+\.\d+)"
38+
CMakeLists.txt:VERSION (\d+\.\d+\.\d+)
39+
update-major-version-in: |
40+
include/stringzilla/stringzilla.h:^#define STRINGZILLA_VERSION_MAJOR (\d+)
41+
update-minor-version-in: |
42+
include/stringzilla/stringzilla.h:^#define STRINGZILLA_VERSION_MINOR (\d+)
43+
update-patch-version-in: |
44+
include/stringzilla/stringzilla.h:^#define STRINGZILLA_VERSION_PATCH (\d+)
4345
dry-run: "true"
4446

4547
test_ubuntu_gcc:

0 commit comments

Comments
 (0)