summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-09-22 18:50:16 +0200
committerJakub Jelen <jjelen@redhat.com>2020-10-06 17:33:49 +0200
commite47664f097f5328d01a6c36d3e11577d6445b3b4 (patch)
tree714107c1c4344181be01d573e010130118e08683
parent92260db57406b081712aaf2bc165e9790433dd64 (diff)
Document release process
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--docs/how_to_release.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/how_to_release.md b/docs/how_to_release.md
new file mode 100644
index 0000000..039f2de
--- /dev/null
+++ b/docs/how_to_release.md
@@ -0,0 +1,32 @@
+How to do a libcacard release
+=============================
+
+Some notes to prepare a release, not really strict but better to have in order
+to avoid forgetting something.
+
+* Update `NEWS` with list of changes done since last release
+* Send a merge request with such changes, handle the review
+* Try to build an RPM package from `make dist` output (see below notes
+ on how to build a source tarball)
+* `git push` for the above MR
+* `git push` for the version tag created (for instance you can use
+ `git push origin v2.8.0` or `git push --tags`)
+* Send an email to spice-devel mailing list
+* Sign generated tarball (to create a detached signature run
+ `gpg2 -sb libcacard-2.8.0.tar.xz`)
+* On Gitlab update tags (https://gitlab.freedesktop.org/spice/libcacard/-/tags)
+ * Add ChangeLog information
+ * Upload tarball and relative signature
+* Upload tarball and relative signature to
+ https://www.spice-space.org/download/libcacard/ (sftp to
+ `spice-uploader@spice-web.osci.io:/var/www/www.spice-space.org/download/libcacard/`)
+
+How to build a source tarball
+-----------------------------
+
+1. `git tag -a v2.8.0 -m 'libcacard 2.8.0'` (replace the version)
+2. `git clone https://gitlab.freedesktop.org/spice/libcacard.git`
+3. `cd libcacard`
+4. `./autogen.sh`
+5. `make dist`
+