Skip to content

Commit 190d9bc

Browse files
committed
cicd
1 parent 3e678f2 commit 190d9bc

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ jobs:
3838
dist/hf_transformers_go-windows-amd64.exe
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,10 @@ bump:
3333
# Release: bump version, commit, tag, push (CI builds artifacts on tag)
3434
release: bump
3535
@ver=$$(cat .version.tmp); \
36-
echo "Version bumped to $$ver. Please commit, tag (v$$ver), and push to trigger CI release."; \
36+
git add transformers/version.go; \
37+
git commit -m "cicd: bump version to v$$ver" || true; \
38+
git tag "v$$ver"; \
39+
git push origin HEAD:main; \
40+
git push origin "v$$ver"; \
41+
echo "Release v$$ver tagged and pushed. CI will build artifacts."; \
3742
rm -f .version.tmp

transformers/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package transformers
22

33
// Version is bumped automatically by the release workflow on pushes to main.
4-
const Version = "1.0.3"
4+
const Version = "1.0.4"

0 commit comments

Comments
 (0)