From f7e4c05f575ae9ea9b157c99f59d133a8d8fe81a Mon Sep 17 00:00:00 2001 From: Ash Vardanian <1983160+ashvardanian@users.noreply.github.com> Date: Mon, 5 Aug 2024 13:48:40 -0700 Subject: [PATCH] Make: Upgrade TinySemVer --- .github/workflows/prerelease.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 4bec5f7c..4a8fe386 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -28,18 +28,20 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Run TinySemVer - uses: ashvardanian/tinysemver@v1.4.1 + uses: ashvardanian/tinysemver@v2.0.1 with: verbose: "true" version-file: "VERSION" - update-version-in: 'pyproject.toml,^version = "(\d+\.\d+\.\d+)"' - update-version-in: 'Cargo.toml,^version = "(\d+\.\d+\.\d+)"' - update-version-in: 'package.json,"version": "(\d+\.\d+\.\d+)"' - update-version-in: 'CITATION.cff,^version: (\d+\.\d+\.\d+)' - update-version-in: 'CMakeLists.txt,VERSION (\d+\.\d+\.\d+)' - update-major-version-in: 'include/stringzilla/stringzilla.h,^#define STRINGZILLA_VERSION_MAJOR (\d+)' - update-minor-version-in: 'include/stringzilla/stringzilla.h,^#define STRINGZILLA_VERSION_MINOR (\d+)' - update-patch-version-in: 'include/stringzilla/stringzilla.h,^#define STRINGZILLA_VERSION_PATCH (\d+)' + update-version-in: | + Cargo.toml:^version = "(\d+\.\d+\.\d+)" + package.json:"version": "(\d+\.\d+\.\d+)" + CMakeLists.txt:VERSION (\d+\.\d+\.\d+) + update-major-version-in: | + include/stringzilla/stringzilla.h:^#define STRINGZILLA_VERSION_MAJOR (\d+) + update-minor-version-in: | + include/stringzilla/stringzilla.h:^#define STRINGZILLA_VERSION_MINOR (\d+) + update-patch-version-in: | + include/stringzilla/stringzilla.h:^#define STRINGZILLA_VERSION_PATCH (\d+) dry-run: "true" test_ubuntu_gcc: