Update ReleaseProcedure authored by Patrick Thomas's avatar Patrick Thomas
**Source code change** **Source code change**
In the `main` branch: In the `main` branch:
Set the version number to `<version>` in `pylon-camera-server.cpp`. Then Set the version number to `<version>` in `pylon-camera-server.cpp`. Then
``` ```
git commit -m "Setting version number to <version>." git commit -m "Setting version number to <version>."
git tag <version> git tag <version>
git push git push
git push --tags git push --tags
``` ```
In the `debian/bullseye` branch: In the `debian/bookworm` branch:
``` ```
gbp import-ref main -u <version> --upstream-tag='%(version)s' --debian-branch=debian/bullseye gbp import-ref main -u <version> --upstream-tag='%(version)s' --debian-branch=debian/bookworm
gbp dch -Rc -N <version>-1+deb11 -D release --debian-branch debian/bullseye gbp dch -Rc -N <version>-1+deb11 -D release --debian-branch debian/bookworm
gbp tag --debian-branch=debian/bullseye gbp tag --debian-branch=debian/bookworm
git push git push
git push --tags git push --tags
``` ```
----- -----
**Packaging only change** **Packaging only change**
In the `debian/bullseye` branch: In the `debian/bookworm` branch:
``` ```
gbp dch -Rc -N <version>-<n>+deb11 -D release --debian-branch debian/bullseye gbp dch -Rc -N <version>-<n>+deb11 -D release --debian-branch debian/bookworm
gbp tag --debian-branch=debian/bullseye gbp tag --debian-branch=debian/bookworm
git push git push
git push --tags git push --tags
``` ```
\ No newline at end of file