mirror of
https://github.com/qmk/qmk_cli.git
synced 2026-07-25 16:42:55 -04:00
22 lines
439 B
Bash
Executable File
22 lines
439 B
Bash
Executable File
#!/bin/sh
|
|
# Increment the verison number and release a new version of qmk_cli.
|
|
set -e
|
|
set -x
|
|
|
|
PYPI_USERNAME=${PYPI_USERNAME:=skully}
|
|
FLIT_USERNAME=$PYPI_USERNAME
|
|
TWINE_USERNAME=$PYPI_USERNAME
|
|
|
|
export FLIT_USERNAME TWINE_USERNAME
|
|
|
|
rm dist/*
|
|
bumpversion patch
|
|
git push origin master --tags
|
|
|
|
# For now we don't use flit
|
|
#flit publish
|
|
|
|
# Use setuptools until flit works with homebrew
|
|
python3 setup.py sdist bdist_wheel
|
|
twine upload dist/qmk-*
|