From 000ccfcc3c0886992631e410e13247b33eed7514 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Wed, 29 Mar 2023 10:38:58 +0200
Subject: [PATCH] Update CHANGELOG and increase version to 1.6.4

---
 CHANGELOG.md                     |  6 ++++++
 README.md                        | 17 +++++++++++++++++
 deployment/helmchart/Chart.yaml  |  4 ++--
 deployment/helmchart/values.yaml |  4 ++--
 4 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 85f2c54d..1fa02472 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+## [0.6.4]
+
+- Fix error messages that were not shown, in particular when providing wrong
+  credentials when logging in. We redesigned the error handling, considering
+  that these messages may be translated later on.
+
 ## [0.6.3]
 
 - Add support for Hedgedoc.
diff --git a/README.md b/README.md
index f7b4959e..a82d5134 100644
--- a/README.md
+++ b/README.md
@@ -141,3 +141,20 @@ Once your package is published, use it by
    `stable` by `unstable`; and
 2. changing the `spec.chart.spec.version` field of the `stackspin/dashboard`
    `HelmRelease` to your chart version (the one from this chart's `Chart.yaml`).
+
+## Release process
+
+To publish a new version of the helm chart:
+1. Increase the docker image tag in `deployment/helmchart/values.yaml` so it uses the new tag (to be
+   created in a later step of this release).
+2. Update the appVersion in `deployment/helmchart/Chart.yaml` to match that new tag version.
+3. Increase the chart version in `deployment/helmchart/Chart.yaml`.
+4. Update `CHANGELOG.md` and check that it includes relevant changes, including
+   ones added by renovatebot.
+5. Commit and push these changes to `main`.
+6. Create a new git tag for the new release and push it to gitlab as well. Note
+   that both the pipeline for the `main` branch and for the tag will use the
+   `nc` namespace, so you may not want to push the branch and tag right after
+   each other.
+
+The last step will trigger a CI run that will package and publish the helm chart.
diff --git a/deployment/helmchart/Chart.yaml b/deployment/helmchart/Chart.yaml
index f47e974e..dccb1378 100644
--- a/deployment/helmchart/Chart.yaml
+++ b/deployment/helmchart/Chart.yaml
@@ -1,7 +1,7 @@
 annotations:
   category: Dashboard
 apiVersion: v2
-appVersion: 0.6.3
+appVersion: 0.6.4
 dependencies:
   - name: common
     # https://artifacthub.io/packages/helm/bitnami/common
@@ -23,4 +23,4 @@ name: stackspin-dashboard
 sources:
   - https://open.greenhost.net/stackspin/dashboard/
   - https://open.greenhost.net/stackspin/dashboard-backend/
-version: 1.6.3
+version: 1.6.4
diff --git a/deployment/helmchart/values.yaml b/deployment/helmchart/values.yaml
index 3f0dce93..1816d37f 100644
--- a/deployment/helmchart/values.yaml
+++ b/deployment/helmchart/values.yaml
@@ -68,7 +68,7 @@ dashboard:
   image:
     registry: open.greenhost.net:4567
     repository: stackspin/dashboard/dashboard
-    tag: 0.6.3
+    tag: 0.6.4
     digest: ""
     ## Optionally specify an array of imagePullSecrets.
     ## Secrets must be manually created in the namespace.
@@ -236,7 +236,7 @@ backend:
   image:
     registry: open.greenhost.net:4567
     repository: stackspin/dashboard/dashboard-backend
-    tag: 0.6.3
+    tag: 0.6.4
     digest: ""
     ## Optionally specify an array of imagePullSecrets.
     ## Secrets must be manually created in the namespace.
-- 
GitLab