Validate Tag

This commit is contained in:
FCS committed 2026-08-28 18:38:00 +02:00
1 parent fb2a0865ee
commit b987f7c21c
1 file changed
+3 -1
+3 -1
View File
@@ -49,7 +49,9 @@ jobs:
TAG_NAME: ${{ gitea.ref_name }} TAG_NAME: ${{ gitea.ref_name }}
run: | run: |
VERSION="${TAG_NAME#v}" VERSION="${TAG_NAME#v}"
grep -qE "^## (v)?${VERSION} " CHANGELOG.md echo "$VERSION" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+[0-9A-Za-z._-]*$'
BASE_VERSION=$(echo "$VERSION" | sed -E 's/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
grep -qE "^## (v)?${BASE_VERSION}[[:space:]]" CHANGELOG.md
test -s LICENSE test -s LICENSE
test -s THIRD_PARTY_NOTICES.md test -s THIRD_PARTY_NOTICES.md
- name: Static analysis - name: Static analysis