2018-11-21 08:22:33 +00:00
|
|
|
|
|
|
|
Vorta.app:
|
|
|
|
#pyrcc5 -o src/vorta/views/collection_rc.py src/vorta/assets/icons/collection.qrc
|
|
|
|
pyinstaller --clean --noconfirm vorta.spec
|
|
|
|
cp -R bin/macosx64/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
|
|
|
|
cd dist; codesign --deep --sign 'Developer ID Application: Manuel Riel (CNMSCAXT48)' Vorta.app
|
|
|
|
|
|
|
|
Vorta.dmg: Vorta.app
|
2018-11-30 00:44:24 +00:00
|
|
|
# sleep 2; cd dist; zip -9rq vorta-0.5.1.zip Vorta.app
|
|
|
|
rm -rf dist/vorta-0.5.1.dmg
|
|
|
|
sleep 2; appdmg appdmg.json dist/vorta-0.5.1.dmg
|
2018-11-21 08:22:33 +00:00
|
|
|
|
|
|
|
github-release: Vorta.dmg
|
2018-11-30 00:44:24 +00:00
|
|
|
hub release create --prerelease --attach=dist/vorta-0.5.1.dmg v0.5.1
|
2018-11-21 09:53:11 +00:00
|
|
|
git checkout gh-pages
|
|
|
|
git commit -m 'rebuild pages' --allow-empty
|
2018-11-30 00:40:18 +00:00
|
|
|
git push upstream gh-pages
|
2018-11-21 09:53:11 +00:00
|
|
|
git checkout master
|
2018-11-21 08:22:33 +00:00
|
|
|
|
|
|
|
pypi-release:
|
|
|
|
python setup.py sdist
|
2018-11-30 00:44:24 +00:00
|
|
|
twine upload dist/vorta-0.5.1.tar.gz
|
2018-11-21 08:22:33 +00:00
|
|
|
|
2018-11-21 14:25:51 +00:00
|
|
|
bump-version:
|
2018-11-22 05:48:16 +00:00
|
|
|
git log $$(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s"
|
2018-11-21 14:25:51 +00:00
|
|
|
bumpversion patch
|
|
|
|
# bumpversion minor
|
|
|
|
git push
|
|
|
|
git push --tags
|
|
|
|
|
2018-11-21 08:22:33 +00:00
|
|
|
travis-debug:
|
|
|
|
curl -s -X POST \
|
|
|
|
-H "Content-Type: application/json" \
|
|
|
|
-H "Accept: application/json" \
|
|
|
|
-H "Travis-API-Version: 3" \
|
|
|
|
-H "Authorization: token ${TRAVIS_TOKEN}" \
|
|
|
|
-d '{ "quiet": true }' \
|
|
|
|
https://api.travis-ci.org/job/${TRAVIS_JOB_ID}/debug
|