-
Notifications
You must be signed in to change notification settings - Fork 24
Releasing an new version
Joas Schilling edited this page Nov 24, 2016
·
5 revisions
-
Increase the version in
appinfo/info.xml
and commit to stable branch -
Tag the release:
git tag -a v{version} -m "Tagging the {version} release."
- Copy the folder and remove development folders:
rm -rf {packaging}/
mkdir {packaging}/
cp -R . {packaging}/announcementcenter/
rm -rf {packaging}/announcementcenter/docs/
rm -rf {packaging}/announcementcenter/l10n/templates/
rm -rf {packaging}/announcementcenter/l10n/.tx/
rm -rf {packaging}/announcementcenter/tests/
rm -rf {packaging}/announcementcenter/.git
rm -rf {packaging}/announcementcenter/.github
rm {packaging}/announcementcenter/l10n/l10n.pl
rm {packaging}/announcementcenter/CONTRIBUTING.md
rm {packaging}/announcementcenter/issue_template.md
rm {packaging}/announcementcenter/README.md
rm {packaging}/announcementcenter/.gitattributes
rm {packaging}/announcementcenter/.gitignore
rm {packaging}/announcementcenter/.scrutinizer.yml
rm {packaging}/announcementcenter/.travis.yml
- Sign the app:
../../occ integrity:sign-app --privateKey={keystore}/announcementcenter.key --certificate={keystore}/announcementcenter.crt --path={packaging}/announcementcenter
- Zip the folder:
cd {packaging}
zip -r announcementcenter-{version}.zip .
tar -zcvf announcementcenter-{version}.tar.gz announcementcenter
cd -
- Push the tag and the stable branch:
git push origin v{version} stable9
-
Add the zip from packaging to the tag.
-
Upload the release to the app store:
openssl dgst -sha512 -sign {keystore}/announcementcenter.key {packaging}/announcementcenter-{version}.tar.gz | openssl base64
- Announce on twitter 📣