chore(ci): Adds nightly and release build workflows

- Introduces workflows for nightly and release builds,
  automating package publishing to Gitea.
- Includes scripts for setting Poetry version, cleaning up
  old dev versions, and uploading assets to releases.
- Adds a merge template for pull requests.
This commit is contained in:
2025-07-12 21:25:20 +02:00
commit 2773984dcb
8 changed files with 270 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
BASE_VERSION=$(cat VERSION)
NIGHTLY_SUFFIX=""
if [[ "$1" == "nightly" ]]; then
# Beispiel: 20240511.1358 → 11. Mai, 13:58 Uhr
NIGHTLY_SUFFIX=".dev$(date +%Y%m%d%H%M)"
fi
FULL_VERSION="${BASE_VERSION}${NIGHTLY_SUFFIX}"
echo "Using version: $FULL_VERSION"
poetry version "$FULL_VERSION"