script for release added, pyrefly checks are fixed for now

This commit is contained in:
markusro committed 2026-10-21 00:48:06 +02:00
1 parent 428af30c30
commit dda8ae7df0
6 files changed
+179 -89

No files matched your search

+13 -1
View File
@@ -22,13 +22,25 @@ jobs:
- name: Install Node.js and git
run: |
apt-get update
apt-get -y install nodejs git lsb-release jq
apt-get -y install nodejs git lsb-release jq devscripts
- name: Checkout repository
uses: actions/checkout@v3
with:
github-server-url: https://gitea.pkm.physik.tu-darmstadt.de
- name: Set package version from release tag
if: startsWith(gitea.ref, 'refs/tags/v')
env:
TAG: ${{ gitea.ref_name }}
run: |
set -euo pipefail
VERSION="${TAG#v}"
if [ "$(dpkg-parsechangelog --show-field Version)" != "$VERSION" ]; then
dch --newversion "$VERSION" --distribution stable --force-distribution --noquery "Release $TAG"
fi
sed -i -E "s/^(__version__ = \")([^\"]+)(\")$/\1${VERSION}\3/" src/damaris/__init__.py
- name: Install build dependencies
run: bash requirements.debian