1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
# Checklist for code updates and new releases of Geeqie
## Code Updates
### Before compiling the sources, carry out the following actions when necessary
* Update `org.geeqie.Geeqie.appdata.xml.in` with the latest released version and date
* Update `org.geeqie.Geeqie.metainfo.xml.in` with the latest released version and date
* Update the desktop template if menus have changed
```sh
./build-aux/template-desktop.sh
```
* The command line completion file has three sections that must be updated by hand
```sh
file_types
actions
options
./data/completions/geeqie
```
### After compiling the sources, carry out the following actions when necessary
* Update the man page and Command Line Options section in Help if the command line options have changed
```sh
./build-aux/generate-man-page.sh
```
* Update the keyboard shortcuts window if any keyboard shortcuts have changed
```sh
./data//ui/keyboard-shortcuts.ui
```
* Commit the changes and push to the .repo
* Update the web-page Help files if they have changed
* commit and push if necessary
```sh
./tools/web-help.sh
```
* Copy `org.geeqie.Geeqie.desktop` to `<location of local geeqie.github.io>/`
* Copy `org.geeqie.Geeqie.appdata.xml` to `<location of local geeqie.github.io>/`
* Push changes to `geeqie.github.io`
## New release
Carry out the above actions to ensure the master branch is up to date, and then the following actions for new version \<n.m\>.
* Edit `org.geeqie.Geeqie.appdata.xml.in` - Change date and version
* Edit `org.geeqie.Geeqie.metainfo.xml.in` - Change date and version
* Edit `NEWS` - The usual information. Ensure the first line is of the form `Geeqie <n.m[.p]>`
```sh
./packaging/new-release.sh <-h for list of options>
```
* Go to `https://github.com/BestImageViewer/geeqie/releases` and click on `Draft a new release`.
* Under `Release title` insert "Geeqie \<n.m\>"
* Under `Choose a tag` select `v<n.m>`
* In `Describe this release` copy-paste the relevant section of `NEWS`.
* Upload the `/tmp/geeqie-<n.m>.tar.xz` and `/tmp/geeqie-<n.m>.tar.xz.asc` files created above
* Click `Publish release`
* Update the [Wikipedia entry](https://en.wikipedia.org/wiki/Geeqie)
* When the latest AppImages have been generated on GitHub, run:
```sh
./packaging/new-release-appimages.sh
```
and upload the renamed files to the Latest release section on GitHub.
* Create a new Snap and upload to SnapCraft:
```sh
snapcraft
snapscraft upload geeqie_<date>.edge_amd64.snap --release=edge
```
|