From bf05a918ccef35154aa91c68b0332a41e3114f6f Mon Sep 17 00:00:00 2001 From: Edward Loveall Date: Mon, 18 Dec 2023 10:32:59 -0500 Subject: [PATCH] Version 2023-12-18 --- CHANGELOG | 11 +++++++++++ script/release | 18 ++++++++++++++++++ src/version.cr | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100755 script/release diff --git a/CHANGELOG b/CHANGELOG index 8f20ecf..8f9fc2c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,14 @@ +2023-12-18 + +* Added release script +* Update License to include https and package.json +* Add Nix package and NixOS moodule +* Remove outdated postgres check and dep from shell.nix +* Fixed Dockerfile +* Update Dockerfile to use multi-arch base image +* Add Docker.arm64 file +* Remove instances that promote hate + 2023-05-21 * Remove unused carbon shard which should fix build failures diff --git a/script/release b/script/release new file mode 100755 index 0000000..1b035b4 --- /dev/null +++ b/script/release @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +todays_date=$(date "+%Y-%m-%d") +sed -i '' -E "s/[0-9]{4}-[0-9]{2}-[0-9]{2}/$todays_date/" src/version.cr + +# Delete the tag if it exists. This will show an error but it's fine +git tag -d "$todays_date" || true + +echo +echo "Bumped version to $todays_date" +echo "Here are the commits since the last tag" +echo "Update the Changelog" +echo + +git log $(git describe --tags --abbrev=0)~..HEAD --oneline +git tag "$todays_date" diff --git a/src/version.cr b/src/version.cr index 755df80..0ee9a77 100644 --- a/src/version.cr +++ b/src/version.cr @@ -1,3 +1,3 @@ module Scribe - VERSION = "2023-05-21" + VERSION = "2023-12-18" end