From 8d0c2cce7330ca089a95fd7bdc54bfdaeaa76c56 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 3 Jun 2023 03:11:15 +0200 Subject: [PATCH] update changelog --- frontend/src/lib/store.ts | 2 +- .../src/routes/page/changelog/changelog.md | 6 ++++++ update.sh | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 update.sh diff --git a/frontend/src/lib/store.ts b/frontend/src/lib/store.ts index 2fdea81..2f88900 100644 --- a/frontend/src/lib/store.ts +++ b/frontend/src/lib/store.ts @@ -13,4 +13,4 @@ const initialThemeValue = browser export const themeStore = writable(initialThemeValue); -export const CURRENT_CHANGELOG = "0.5.0"; +export const CURRENT_CHANGELOG = "0.5.3"; diff --git a/frontend/src/routes/page/changelog/changelog.md b/frontend/src/routes/page/changelog/changelog.md index 7b7f8c9..0eadc6c 100644 --- a/frontend/src/routes/page/changelog/changelog.md +++ b/frontend/src/routes/page/changelog/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 0.5.3 - June 3rd 2023 + +- Added a link shortener at **prns.cc**! There is now an additional button on all user and member pages to copy a shorter link. + The IDs used here can be rerolled on the edit profile page. +- Fixed the member list breaking if you have too many private members. + ## 0.5.0 - May 29th 2023 - **Added pride flags!** diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..10eed0d --- /dev/null +++ b/update.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +set -euxo pipefail + +sudo -u pronouns git pull +sudo -u pronouns make all + +while getopts 'm' OPTION; do + case "$OPTION" in + m) + sudo systemctl stop pronouns-api pronouns-fe pronouns-exporter + sudo -u pronouns ./pronouns database migrate + sudo systemctl start pronouns-api pronouns-fe pronouns-exporter + ;; + ?) + sudo systemctl restart pronouns-api pronouns-fe + ;; + esac +done