| 1 |
If you're going to package nickle for release, there are several |
| 2 |
important steps: |
| 3 |
|
| 4 |
1. Create new version |
| 5 |
edit meson.build, changing the version number in the |
| 6 |
project() block |
| 7 |
|
| 8 |
2. run meson |
| 9 |
meson setup build |
| 10 |
|
| 11 |
3. Test the release |
| 12 |
meson test -C build |
| 13 |
|
| 14 |
4. Update debian/changelog |
| 15 |
git log --pretty=oneline 2.<xx-1>..master |
| 16 |
|
| 17 |
5. Commit these changes |
| 18 |
git-commit -m'Update to version 2.<xx>' -a |
| 19 |
|
| 20 |
6. Tag |
| 21 |
git-tag -s -m 'Version 2.<xx>' 2.<xx> |
| 22 |
|
| 23 |
7. Build the release |
| 24 |
meson dist -C build |
| 25 |
|
| 26 |
8. Build debian builds |
| 27 |
gbp buildpackage |
| 28 |
|
| 29 |
9. Push out changes to the repo |
| 30 |
git-push origin master 2.<xx> |
| 31 |
|
| 32 |
10. Upload release |
| 33 |
scp build/meson-dist/* nickle.org:/var/www/nickle/release |
| 34 |
dput |
| 35 |
|
| 36 |
11. Build and upload RPM |
| 37 |
./build-rpm upload |