Skip to content

Commit 6c9d8ec

Browse files
committed
fix release task
1 parent c5176e0 commit 6c9d8ec

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ PYTHON ?= python3.13
22
REMOTE = git@github.com:Mic92/python-mpd2
33
VERSION = $(shell $(PYTHON) -c "import mpd; print('.'.join(map(str,mpd.VERSION)))")
44

5-
test:
6-
tox
7-
release: test
8-
test "$(shell git symbolic-ref --short HEAD)" = "master" || (echo "not on master branch"; exit 1)
9-
git pull --rebase origin master
5+
release:
6+
test "$(shell git symbolic-ref --short HEAD)" = "main" || (echo "not on main branch"; exit 1)
7+
git pull --rebase origin main
108
$(PYTHON) -m build
119
$(PYTHON) -m twine check dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py3-none-any.whl
1210
git tag "v$(VERSION)"

0 commit comments

Comments
 (0)