Skip to content

Commit 9ccd8e0

Browse files
authored
Merge pull request #224 from Mic92/joerg-ci
fix release workflow
2 parents cc826d6 + 5385179 commit 9ccd8e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ VERSION = $(shell $(PYTHON) -c "import mpd; print('.'.join(map(str,mpd.VERSION))
55
test:
66
tox
77
release: test
8-
test "$(git symbolic-ref --short HEAD)" = "master" || (echo "not on master branch"; exit 1)
8+
test "$(shell git symbolic-ref --short HEAD)" = "master" || (echo "not on master branch"; exit 1)
99
git pull --rebase origin master
1010
$(PYTHON) setup.py sdist bdist_wheel
1111
$(PYTHON) -m twine check dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py2.py3-none-any.whl
1212
git tag "v$(VERSION)"
1313
git push --tags git@github.com:Mic92/python-mpd2 "v$(VERSION)"
14-
$(PYTHON) -m twine upload dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py2.py3-none-any.whl
14+
$(PYTHON) -m twine upload --repository python-mpd2 dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py2.py3-none-any.whl
1515
clean:
1616
$(PYTHON) setup.py clean
1717

0 commit comments

Comments
 (0)