File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,14 @@ PYTHON ?= python3.13
22REMOTE = git@github.com:Mic92/python-mpd2
33VERSION = $(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
11- $(PYTHON ) -m twine check dist/python-mpd2 -$(VERSION ) .tar.gz dist/python_mpd2-$(VERSION ) -py3-none-any.whl
9+ $(PYTHON ) -m twine check dist/python_mpd2 -$(VERSION ) .tar.gz dist/python_mpd2-$(VERSION ) -py3-none-any.whl
1210 git tag " v$( VERSION) "
1311 git push --tags git@github.com:Mic92/python-mpd2 " v$( VERSION) "
14- $(PYTHON ) -m twine upload --repository python-mpd2 dist/python-mpd2 -$(VERSION ) .tar.gz dist/python_mpd2-$(VERSION ) -py3-none-any.whl
12+ $(PYTHON ) -m twine upload --repository python-mpd2 dist/python_mpd2 -$(VERSION ) .tar.gz dist/python_mpd2-$(VERSION ) -py3-none-any.whl
1513clean :
1614 rm -rf dist build * .egg-info
1715
You can’t perform that action at this time.
0 commit comments