Version 2023-12-18

This commit is contained in:
Edward Loveall
2023-12-18 10:32:59 -05:00
parent 5e08f4b329
commit bf05a918cc
3 changed files with 30 additions and 1 deletions

18
script/release Executable file
View File

@@ -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"