Skip to content

Commit

Permalink
Update Makefile; add release helper make targets
Browse files Browse the repository at this point in the history
  • Loading branch information
crwood committed Jan 12, 2019
1 parent 1402736 commit c79b746
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Expand Up @@ -320,5 +320,23 @@ all:
*) $(MAKE) pyinstaller ;; \
esac

gpg-sign:
gpg2 -a --detach-sign --default-key 0xD38A20A62777E1A5 release/Gridsync-Linux.tar.gz
gpg2 -a --detach-sign --default-key 0xD38A20A62777E1A5 release/Gridsync-Mac.dmg
gpg2 -a --detach-sign --default-key 0xD38A20A62777E1A5 release/Gridsync-Mac-Legacy.dmg
gpg2 -a --detach-sign --default-key 0xD38A20A62777E1A5 release/Gridsync-setup.exe
gpg2 -a --detach-sign --default-key 0xD38A20A62777E1A5 release/Gridsync-Windows.zip

gpg-verify:
gpg2 --verify release/Gridsync-Linux.tar.gz{.asc,}
gpg2 --verify release/Gridsync-Mac.dmg{.asc,}
gpg2 --verify release/Gridsync-Mac-Legacy.dmg{.asc,}
gpg2 --verify release/Gridsync-setup.exe{.asc,}
gpg2 --verify release/Gridsync-Windows.zip{.asc,}

pypi-release:
python setup.py sdist bdist_wheel
twine upload --verbose dist/gridsync-*.*

uninstall:
pip3 uninstall -y gridsync

0 comments on commit c79b746

Please sign in to comment.