From 0a584d4f75258dfa97d25867b56cfff8482861dd Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 12 May 2024 23:30:57 +0200 Subject: [PATCH 1/4] ci: add deploy --- .forgejo/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index cb0defc..67b178b 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -71,3 +71,8 @@ jobs: with: title: "Visitenbuch ${{ github.ref_name }}" body: "${{ env.CHANGELOG }}" + + - name: ๐Ÿš€ Deploy to server + if: ${{ startsWith(github.ref, 'refs/tags/v') }} + run: | + curl -H "Authorization: Bearer ${{ secrets.THETADEV_DE_WATCHTOWER_TOKEN }}" https://watchtower.thetadev.de/v1/update From 58fe0baebd975c4618d0a951095c2f318fede8a4 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 12 May 2024 23:40:51 +0200 Subject: [PATCH 2/4] chore: update README --- README.md | 8 ++++++++ release.sh | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 993e1f1..1f1a26e 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,11 @@ npm run build You can preview the production build with `npm run preview`. > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. + +### Release + +To release a new version, tun the release script with the new version as a parameter + +```bash +./release.sh 1.0.0 +``` diff --git a/release.sh b/release.sh index 40b930f..b9658ec 100755 --- a/release.sh +++ b/release.sh @@ -34,8 +34,6 @@ else eval "git-cliff $CLIFF_ARGS --output '$CHANGELOG'" fi -editor "$CHANGELOG" - git add "$CHANGELOG" git commit -m "chore(release): release v$VERSION" From 41312cc4671ffa5214ff6d7b87b2a6c8fee38c3f Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 12 May 2024 23:43:34 +0200 Subject: [PATCH 3/4] ci: dont build releases on main branch push --- .forgejo/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 67b178b..bcbb182 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -38,7 +38,8 @@ jobs: release: runs-on: cimaster-latest needs: test - if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') }} + # if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }} steps: - name: ๐Ÿ‘๏ธ Checkout repository uses: actions/checkout@v4 From 027100867fbf6c6d505f291bdae46dfe4873ad3c Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 12 May 2024 23:43:50 +0200 Subject: [PATCH 4/4] chore(release): release v0.3.0 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d7c51d..8253b3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,37 @@ All notable changes to this project will be documented in this file. +## [v0.3.0](https://code.thetadev.de/HSA/Visitenbuch/compare/v0.2.1..v0.3.0) - 2024-05-12 + +### ๐Ÿš€ Features + +- Create executions without marking entry as done ('notes') - ([f630ee0](https://code.thetadev.de/HSA/Visitenbuch/commit/f630ee08b888cc098e8dfb41a2e6f87c3e2f264f)) +- Add multi-column sort - ([2a7aa61](https://code.thetadev.de/HSA/Visitenbuch/commit/2a7aa618d9386951a1da70cd021db8f9bd0b062f)) +- Improve date selector (allow for manual range input, add day/week arrows on visit view) - ([b2a1888](https://code.thetadev.de/HSA/Visitenbuch/commit/b2a188831fb19f3bc5e39b0dfdc53a6767c60e8a)) +- Add group by station - ([25a60d5](https://code.thetadev.de/HSA/Visitenbuch/commit/25a60d5d6120ed94128d85d17737c2291d226a14)) + +### ๐Ÿ› Bug Fixes + +- Add tooltips to icon buttons - ([829c73a](https://code.thetadev.de/HSA/Visitenbuch/commit/829c73a50ff7e8eb95eea60e46c6aa72e9e03027)) +- Dockerfile - ([597f750](https://code.thetadev.de/HSA/Visitenbuch/commit/597f7506959ff1267d615b36c9e316394a5e15c9)) +- HumanDate missing space - ([c5f9740](https://code.thetadev.de/HSA/Visitenbuch/commit/c5f974096ee371599bad0bd60c8187af15c96e70)) + +### ๐Ÿšœ Refactor + +- SchemaNewExecution definition - ([29d092a](https://code.thetadev.de/HSA/Visitenbuch/commit/29d092aaac4d3bfa96ba84f7c7049f00076ddb9b)) + +### ๐Ÿงช Testing + +- Make test db URL configurable - ([0d14212](https://code.thetadev.de/HSA/Visitenbuch/commit/0d1421285f6ae4b18503f7088763e9506bff1016)) + +### โš™๏ธ Miscellaneous Tasks + +- Pre-commit: deny eslint warnings - ([dc43b42](https://code.thetadev.de/HSA/Visitenbuch/commit/dc43b429e07025e340f17f691438aeb6cb3a062c)) +- Update dependencies - ([cdefc7c](https://code.thetadev.de/HSA/Visitenbuch/commit/cdefc7ca90f87a50e8e6a18e6dfd0f88691c25bf)) +- Improve release script - ([e634919](https://code.thetadev.de/HSA/Visitenbuch/commit/e634919e4363b3bb21b61b1c3f469ed59d9dc0e5)) +- Update README - ([58fe0ba](https://code.thetadev.de/HSA/Visitenbuch/commit/58fe0baebd975c4618d0a951095c2f318fede8a4)) + + ## [v0.2.1](https://code.thetadev.de/HSA/Visitenbuch/compare/v0.2.0..v0.2.1) - 2024-05-07 ### ๐Ÿ› Bug Fixes diff --git a/package.json b/package.json index 564505a..25d3d52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "visitenbuch", - "version": "0.2.1", + "version": "0.3.0", "private": true, "license": "AGPL-3.0", "scripts": {