summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2022-08-01 14:49:24 +0200
committerVictor Toso <victortoso@redhat.com>2022-08-02 19:35:49 +0200
commit5fc0e1c43194d948545941d408f4c10d084eb6ed (patch)
tree2d92f5fb9a41d4b1a0a77e094652e35cd6740997
parentbf307aeb470f40ffc41ecc909fbd2e65cda3640e (diff)
Prepare for 0.13.0 releaseHEADusbredir-0.13.0master
Signed-off-by: Victor Toso <victortoso@redhat.com>
-rw-r--r--ChangeLog.md8
-rw-r--r--docs/how_to_release.md48
-rw-r--r--meson.build2
-rw-r--r--usbredirparser/meson.build2
4 files changed, 58 insertions, 2 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index 20cf8eb..d901a46 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,11 @@
+# usbredir-0.13.0 - 01 Aug 2022
+
+- !61 Fix regression on unserialize data
+- !59 Removes usbredirserver
+- !58 Improved header length checks when unserialising data
+- !62 Fix usage of command line argument in usbredirect
+- !57 Fix small memory leak on usbredirect
+
# usbredir-0.12.0 - 12 Nov 2021
- !47 Implement dropping packets from isochronous devices
diff --git a/docs/how_to_release.md b/docs/how_to_release.md
new file mode 100644
index 0000000..b2ebd3b
--- /dev/null
+++ b/docs/how_to_release.md
@@ -0,0 +1,48 @@
+How to do a usbredir release
+============================
+
+Some notes to prepare a release, not really strict but better to have in order
+to avoid forgetting something.
+
+Preparing for the release
+-------------------------
+
+* Update the root `meson.build` and also the ones in usbredirparser and
+ usbredirhost directories according to libtool rules.
+* Update `ChangeLog.md` with list of changes done since last release
+* Send a merge request with such changes, handle the review and merge it
+
+Generate source tarball and tags
+--------------------------------
+
+* Tag the merged commit with release version `git tag -s -m "Release $version" $version`
+* Be sure to be in a clean environment: `git clean -xfd`
+* Create the source tarball with: `meson . build && meson dist -C build`
+* Sign generated tarball: `cd build/meson-dist && gpg2 -sb usbredir-$version.tar.xz`
+* If you have a Fedora account, you can proceed and check if
+ a scratch-build works as expected.
+
+Generate the MSI installer
+--------------------------
+
+* On the usbredir srcdir `mkdir build-win64 && cd build-win64`
+* `mingw64-meson`
+* `DESTDIR=./install-root ninja install`
+* `DESTDIR=./install-root ninja data/usbredirect-x64-$version.msi`
+* The MSI installer is then located at `build-win64/data`
+
+Upload and update Info
+----------------------
+
+* Upload tarball and relative signature to
+ `https://www.spice-space.org/download/usbredir/` and the MSI installer to
+ `https://www.spice-space.org/download/windows/usbredirect/` with sftp
+ `spice-uploader@spice-web.osci.io:/var/www/www.spice-space.org/download/`
+* Push the tag to Gitlab `git push origin HEAD:main --tags`
+* On Gitlab update tags (https://gitlab.freedesktop.org/spice/usbredir/-/tags)
+ * Add ChangeLog information
+ * Upload tarball with the signature
+ * Upload the MSI installer
+* Update file `download.rst` in
+ https://gitlab.freedesktop.org/spice/spice-space-pages
+* Create a merge request for `spice-space-pages`
diff --git a/meson.build b/meson.build
index 6ed4dc1..aac9909 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project('usbredir', 'c',
- version: '0.12.0',
+ version: '0.13.0',
license: 'LGPLv2.1+',
meson_version : '>= 0.53',
default_options : [
diff --git a/usbredirparser/meson.build b/usbredirparser/meson.build
index 51845fe..8718817 100644
--- a/usbredirparser/meson.build
+++ b/usbredirparser/meson.build
@@ -1,7 +1,7 @@
# so verison, see:
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
usbredir_parser_current = 3
-usbredir_parser_revision = 0
+usbredir_parser_revision = 1
usbredir_parser_age = 2
usbredir_parser_so_version = '@0@.@1@.@2@'.format(
usbredir_parser_current - usbredir_parser_age,