-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment
This guide shows how to deploy and update Piwigo NG on both Play Store and Github.
Before we jump to the release process, we need to be sure everything is setup.
Be sure to test new and old features to avoid bugs on release. Login, upload and navigation are critical features, and must work in any cases.
Don't forget to increase the app version in the pubspec.yaml
version: a.b.c+abcHow to choose your version name ?
major . minor . hotfix
- major : Stands for major changes to the application, such as the 2.0.0 which redisigned the app's code ans architecture.
- minor : A version that added a noticable feature, such as the search page, tags management, ...
- hotfix : This version includes bug fixing, improvements, and small features.
Once you shoused in hich category your version is, you just need to increment the last version. If you are adding a major or a minor, remember to set lower categories to 0 :
Version is 1.2.8
We add a "minor" update
Version name is now 1.3.0
Now you have your version name, you need to add the version of code.
We first need to build the executables:
- AppBundle for Play Store
- APK for Github
- Merge all working branches on Master.
note: Master branch must always compile.
- Build apk
- Create a release tag on Master
- Add apk
- Write release notes
- Create release
Some functionalities are mandatory and must be tested before release. All tests are manual.
- Login
- Upload
- Single file
- Multiple files
- Large file
- Create / Delete album
- Edit / Move or update / Delete file
- Build appBundle
- Access Piwigo NG console
- Add appBundle
- Write release notes
- Roll out release