Skip to content

Commit 4b49b1e

Browse files
committed
adjusting makefile
1 parent a5ede4e commit 4b49b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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."

0 commit comments

Comments
 (0)