Skip to content

Releasing an new version

Joas Schilling edited this page Nov 24, 2016 · 5 revisions
  1. Increase the version in appinfo/info.xml and commit to stable branch

  2. Tag the release:

git tag -a v{version} -m "Tagging the {version} release."
  1. 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
  1. Sign the app:
../../occ integrity:sign-app --privateKey={keystore}/announcementcenter.key --certificate={keystore}/announcementcenter.crt --path={packaging}/announcementcenter
  1. Zip the folder:
cd {packaging}
zip -r announcementcenter-{version}.zip .
tar -zcvf announcementcenter-{version}.tar.gz announcementcenter
cd -
  1. Push the tag and the stable branch:
git push origin v{version} stable9
  1. Add the zip from packaging to the tag.

  2. Upload the release to the app store:

openssl dgst -sha512 -sign {keystore}/announcementcenter.key {packaging}/announcementcenter-{version}.tar.gz | openssl base64
  1. Announce on twitter 📣
Clone this wiki locally