We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5176e0 commit 6c9d8ecCopy full SHA for 6c9d8ec
Makefile
@@ -2,11 +2,9 @@ PYTHON ?= python3.13
2
REMOTE = git@github.com:Mic92/python-mpd2
3
VERSION = $(shell $(PYTHON) -c "import mpd; print('.'.join(map(str,mpd.VERSION)))")
4
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
+release:
+ test "$(shell git symbolic-ref --short HEAD)" = "main" || (echo "not on main branch"; exit 1)
+ git pull --rebase origin main
10
$(PYTHON) -m build
11
$(PYTHON) -m twine check dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py3-none-any.whl
12
git tag "v$(VERSION)"
0 commit comments