File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,30 @@ permissions:
18
18
contents : read
19
19
20
20
jobs :
21
+ versioning :
22
+ runs-on : ubuntu-latest
23
+ name : Update Version
24
+ steps :
25
+ - name : Checkout
26
+ uses : actions/checkout@v4
27
+ with :
28
+ fetch-depth : 0
29
+ persist-credentials : false
30
+ - name : Run TinySemVer
31
+ uses :
ashvardanian/[email protected]
32
+ with :
33
+ verbose : " true"
34
+ 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+)'
43
+ dry-run : " true"
44
+
21
45
test_ubuntu_gcc :
22
46
name : Ubuntu (GCC 12)
23
47
runs-on : ubuntu-22.04
@@ -230,7 +254,7 @@ jobs:
230
254
wget https://apt.llvm.org/llvm.sh
231
255
chmod +x llvm.sh
232
256
sudo ./llvm.sh 16
233
-
257
+
234
258
- name : Build C/C++
235
259
run : |
236
260
cmake -B build_artifacts \
You can’t perform that action at this time.
0 commit comments