From f338b70ef221069acaeda7a2c70d5f5d1c6c466a Mon Sep 17 00:00:00 2001
From: Jonathan Calmels <jcalmels@nvidia.com>
Date: Fri, 6 Aug 2021 16:55:57 -0700
Subject: [PATCH] Release 3.3.1

---
 Makefile                  |  2 +-
 doc/cmd/version.md        |  2 +-
 doc/installation.md       | 16 ++++++++--------
 doc/requirements.md       |  2 +-
 pkg/deb/changelog         |  6 ++++++
 pkg/rpm/SPECS/enroot.spec |  3 +++
 6 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index fd2ae07..5f193b4 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ LIBDIR      = $(DESTDIR)$(libdir)/enroot
 SYSCONFDIR  = $(DESTDIR)$(sysconfdir)/enroot
 DATADIR     = $(DESTDIR)$(datadir)/enroot
 
-VERSION       := 3.3.0
+VERSION       := 3.3.1
 PACKAGE       ?= enroot
 ARCH          ?= $(shell uname -m)
 DEBUG         ?=
diff --git a/doc/cmd/version.md b/doc/cmd/version.md
index 8d69562..5c7f6b7 100644
--- a/doc/cmd/version.md
+++ b/doc/cmd/version.md
@@ -10,5 +10,5 @@ Print the release version of Enroot.
 
 ```sh
 $ enroot version
-3.3.0
+3.3.1
 ```
diff --git a/doc/installation.md b/doc/installation.md
index 0542848..c026f12 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -48,15 +48,15 @@ The table below describes each package flavor and their characteristics:
 ```sh
 # Debian-based distributions
 arch=$(dpkg --print-architecture)
-curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot_3.3.0-1_${arch}.deb
-curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot+caps_3.3.0-1_${arch}.deb # optional
+curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot_3.3.1-1_${arch}.deb
+curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot+caps_3.3.1-1_${arch}.deb # optional
 sudo apt install -y ./*.deb
 
 # RHEL-based distributions
 arch=$(uname -m)
 sudo yum install -y epel-release # required on some distributions
-sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot-3.3.0-1.el7.${arch}.rpm
-sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot+caps-3.3.0-1.el7.${arch}.rpm # optional
+sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot-3.3.1-1.el7.${arch}.rpm
+sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot+caps-3.3.1-1.el7.${arch}.rpm # optional
 ```
 
 #### Hardened flavor
@@ -64,15 +64,15 @@ sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.0/en
 ```sh
 # Debian-based distributions
 arch=$(dpkg --print-architecture)
-curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot-hardened_3.3.0-1_${arch}.deb
-curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot-hardened+caps_3.3.0-1_${arch}.deb # optional
+curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot-hardened_3.3.1-1_${arch}.deb
+curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot-hardened+caps_3.3.1-1_${arch}.deb # optional
 sudo apt install -y ./*.deb
 
 # RHEL-based distributions
 arch=$(uname -m)
 sudo yum install -y epel-release # required on some distributions
-sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot-hardened-3.3.0-1.el7.${arch}.rpm
-sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot-hardened+caps-3.3.0-1.el7.${arch}.rpm # optional
+sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot-hardened-3.3.1-1.el7.${arch}.rpm
+sudo yum install -y https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot-hardened+caps-3.3.1-1.el7.${arch}.rpm # optional
 ```
 
 ## From source
diff --git a/doc/requirements.md b/doc/requirements.md
index 5e7e6b7..c95939a 100644
--- a/doc/requirements.md
+++ b/doc/requirements.md
@@ -4,7 +4,7 @@ The list of prerequisites for running Enroot is described below.
 
 You can automatically check these by running the `enroot-check` bundle for a given release:
 ```sh
-$ curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.0/enroot-check_3.3.0_$(uname -m).run
+$ curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.3.1/enroot-check_3.3.1_$(uname -m).run
 $ chmod +x enroot-check_*.run
 
 $ ./enroot-check_*.run --verify
diff --git a/pkg/deb/changelog b/pkg/deb/changelog
index 724e819..460ead9 100644
--- a/pkg/deb/changelog
+++ b/pkg/deb/changelog
@@ -1,3 +1,9 @@
+#PACKAGE# (3.3.1-1) UNRELEASED; urgency=medium
+
+  * Release v3.3.1
+
+ -- #USERNAME# <#EMAIL#>  Fri, 06 Aug 2021 23:53:15 +0000
+
 #PACKAGE# (3.3.0-1) UNRELEASED; urgency=medium
 
   * Release v3.3.0
diff --git a/pkg/rpm/SPECS/enroot.spec b/pkg/rpm/SPECS/enroot.spec
index f2c78ed..c9d5693 100644
--- a/pkg/rpm/SPECS/enroot.spec
+++ b/pkg/rpm/SPECS/enroot.spec
@@ -58,6 +58,9 @@ setcap cap_sys_admin,cap_mknod-pe "$(command -v enroot-aufs2ovlfs)"
 %make_install prefix=%{_prefix} exec_prefix=%{_exec_prefix} libdir=%{_libdir} datarootdir=%{_datarootdir}
 
 %changelog
+* Fri Aug 06 2021 %{packager} 3.3.1-1
+- Release v3.3.1
+
 * Tue Apr 06 2021 %{packager} 3.3.0-1
 - Release v3.3.0