From 830c66f1bedf89f8bf6301e39a77a0e03371d188 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Fri, 8 May 2020 20:18:55 +0200 Subject: [PATCH] readme: no more release but branch instead For each NixOS release, we publish a branch. This would allow us to continue to apply patches to these branches, in case of bug or security fixes. --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a6607ed..153d12a 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,16 @@ [![pipeline status](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/badges/master/pipeline.svg)](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/commits/master) -## Stable Releases +## Release branches -* [SNM v2.3.0](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/tags/v2.3.0) +For each NixOS release, we publish a branch. You then have to use the +SNM branch corresponding to your NixOS version. + +* For NixOS 19.09: [SNM branch + `nixos-19.09`](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/tree/nixos-19.09) +* For NixOS unstable: [SNM branch + `master`](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/tree/master) -[Latest Release (Candidate)](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/tags/v2.3.0) [Subscribe to SNM Announcement List](https://www.freelists.org/list/snm) This is a very low volume list where new releases of SNM are announced, so you @@ -68,8 +73,10 @@ See the [mailing list archive](https://www.freelists.org/archive/snm/) { imports = [ (builtins.fetchTarball { - url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.3.0/nixos-mailserver-v2.3.0.tar.gz"; - sha256 = "0lpz08qviccvpfws2nm83n7m2r8add2wvfg9bljx9yxx8107r919"; + # Pick a commit from the branch you are interested in + url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/A-COMMIT-ID/nixos-mailserver-A-COMMIT-ID.tar.gz"; + # And set its hash + sha256 = "0000000000000000000000000000000000000000000000000000"; }) ];