From f81ffbe83d5ffe1da3b81f3fb968c3ef0e9acc10 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Thu, 20 Jul 2023 08:33:42 +0200 Subject: [PATCH] Prepare minor release 1.1.0 --- Makefile | 2 +- ReleaseNotes.md | 15 +++------------ docs/dev-release.md | 13 +++++++++++++ 3 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 docs/dev-release.md diff --git a/Makefile b/Makefile index 23d406d..505281c 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ TARGET = ./cc-backend VAR = ./var CFG = config.json .env FRONTEND = ./web/frontend -VERSION = 1.0.0 +VERSION = 1.1.0 GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development') CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S") LD_FLAGS = '-s -X main.date=${CURRENT_TIME} -X main.version=${VERSION} -X main.commit=${GIT_HASH}' diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 1a7f054..127d4a8 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,11 +1,11 @@ -# `cc-backend` version 1.0.0 +# `cc-backend` version 1.1.0 Supports job archive version 1 and database version 6. -This is the initial release of `cc-backend`, the API backend and frontend +This is a minor release of `cc-backend`, the API backend and frontend implementation of ClusterCockpit. -** Breaking changes ** +** Breaking changes v1 ** The aggregate job statistic core hours is now computed using the job table column `num_hwthreads`. In a future release this column will be renamed to @@ -25,12 +25,3 @@ sqlite> PRAGMA foreign_keys = ON; ``` Otherwise if you delete jobs the jobtag relation table will not be updated accordingly! - -**Notable changes** -* Supports user roles admin, support, manager, user, and api. -* Unified search bar supports job id, job name, project id, user name, and name -* Performance improvements for sqlite db backend -* Extended REST api supports to query job metrics -* Better support for shared jobs -* More flexible metric list configuration -* Versioning and migration for database and job archive diff --git a/docs/dev-release.md b/docs/dev-release.md new file mode 100644 index 0000000..30c352f --- /dev/null +++ b/docs/dev-release.md @@ -0,0 +1,13 @@ +# Steps to prepare a release + +1. On `hotfix` branch: + * Update ReleaseNotes.md + * Update version in Makefile + * Commit, push, and pull request + * Merge in master + +2. On Linux host: + * Pull master + * Ensure that GitHub Token environment variable `GITHUB_TOKEN` is set + * Create release tag: `git tag v1.1.0 -m release` + * Execute `goreleaser release`