summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2020-10-02 09:46:45 +0100
committerFrediano Ziglio <freddy77@gmail.com>2021-01-19 13:23:49 +0000
commit06aa9375ad17ffa690a8b572aff6ee1168ffcf7a (patch)
treeaadfaca68717702aceda2f32b19e7cb4e5b6b04f
parentce0c4211e6f16c66477934cc42e70fa0988ca7f0 (diff)
Add some notes on how to prepare a release
That's what I did for last release. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Jakub Janků <jjanku@redhat.com>
-rw-r--r--docs/how_to_release.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/how_to_release.md b/docs/how_to_release.md
new file mode 100644
index 0000000..6d6f8e0
--- /dev/null
+++ b/docs/how_to_release.md
@@ -0,0 +1,27 @@
+How to do a SPICE protocol release
+==================================
+
+Some notes to prepare a release, not really strict but better to have in order
+to avoid forgetting something.
+
+* Check `meson.build` and `spice-protocol.spec` for release number
+* Update `CHANGELOG.md` with list of changes done since last release
+* Send a merge request with such changes, handle the review
+* Build distribution file with `meson dist`
+* Try to build an RPM package from `meson dist` output
+* `git push` for the above MR
+* Create a git tag (like `git tag -a v0.14.3 -m 'Release v0.14.3'`)
+* `git push` for the version tag created (for instance you can use
+ `git push origin v0.14.3` or `git push --tags`)
+* Sign generated tarball (to create a detached signature run
+ `gpg2 -sb spice-protocol-RELEASE.tar.xz`)
+* On Gitlab update tags (https://gitlab.freedesktop.org/spice/spice-protocol/-/tags)
+ * Add ChangeLog information
+ * Upload tarball and relative signature
+* Upload tarball and relative signature and sha256sum to
+ https://www.spice-space.org/download/releases/ (sftp to
+ `spice-uploader@spice-web.osci.io:/var/www/www.spice-space.org/download/releases/`)
+* Update file `download.rst` in
+ https://gitlab.freedesktop.org/spice/spice-space-pages
+* Send an email to spice-devel mailing list
+* Bump version post release and send a new MR