File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ debug-sample: install
6666 $(PYTHON ) -m tfsumpy samples/sample1.json --debug --config tfsumpy/rules_config.json
6767
6868# Release command (unchanged)
69- release : check clean
69+ release :
7070 @echo " Creating release for version $( VERSION) "
7171 @# Update version in __init__.py (works on both Linux and macOS)
7272 @sed -i.bak " s/__version__ = .*/__version__ = '$( VERSION) '/" tfsumpy/__init__.py && rm -f tfsumpy/__init__.py.bak
@@ -78,7 +78,7 @@ release: check clean
7878 git add tfsumpy/__init__.py setup.py
7979 git commit -m " Bump version to $( VERSION) "
8080 @# Create and push tag
81- git tag -a v$(VERSION ) -m " Release version $( VERSION) "
81+ git tag -a v$(VERSION ) -m " Release version $( VERSION) " --force
8282 git push origin main
8383 git push origin v$(VERSION )
8484 @echo " Release v$( VERSION) created and pushed. GitHub Actions will handle the rest."
You can’t perform that action at this time.
0 commit comments