-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d709b0b
commit f1bab22
Showing
4 changed files
with
47 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,30 @@ permissions: | |
|
||
jobs: | ||
|
||
versioning: | ||
name: Update Version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- name: Run TinySemVer | ||
uses: ashvardanian/[email protected] | ||
with: | ||
verbose: "true" | ||
version-file: "VERSION" | ||
update-version-in: | | ||
CMakeLists.txt:VERSION (\d+\.\d+\.\d+) | ||
update-major-version-in: | | ||
include/ucall/ucall.h:^#define UCALL_VERSION_MAJOR (\d+) | ||
update-minor-version-in: | | ||
include/ucall/ucall.h:^#define UCALL_VERSION_MINOR (\d+) | ||
update-patch-version-in: | | ||
include/ucall/ucall.h:^#define UCALL_VERSION_PATCH (\d+) | ||
dry-run: "true" | ||
|
||
test_python: | ||
name: Test Python | ||
runs-on: ${{ matrix.os }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,17 +18,31 @@ permissions: | |
jobs: | ||
|
||
versioning: | ||
name: Semantic Release | ||
name: Update Version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
- run: npm install --save-dev @semantic-release/exec @semantic-release/git conventional-changelog-eslint semantic-release && npx semantic-release | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- name: Run TinySemVer | ||
uses: ashvardanian/[email protected] | ||
with: | ||
verbose: "true" | ||
version-file: "VERSION" | ||
update-version-in: | | ||
CMakeLists.txt:VERSION (\d+\.\d+\.\d+) | ||
update-major-version-in: | | ||
include/ucall/ucall.h:^#define UCALL_VERSION_MAJOR (\d+) | ||
update-minor-version-in: | | ||
include/ucall/ucall.h:^#define UCALL_VERSION_MINOR (\d+) | ||
update-patch-version-in: | | ||
include/ucall/ucall.h:^#define UCALL_VERSION_PATCH (\d+) | ||
dry-run: "false" | ||
push: "true" | ||
create-release: "true" | ||
github-token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} | ||
|
||
build_wheels: | ||
name: Build Python ${{ matrix.python-version }} for ${{ matrix.os }} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.