Files
landwelle/.github/workflows/source-zip.yml
T
OpenGenesis (MPL 2.0) 1c1a77a06b feat: expand Niedersachsen Hub with tourism data catalogue
* feat(tourism): add typed Niedersachsen Hub API ingestion, rights checks, catalogue and moderation

* feat(tourism): add open data catalogue migration and frontend

* feat(tourism): add open data catalogue migration and frontend

* feat(tourism): add open data catalogue migration and frontend

* feat(tourism): add open data catalogue migration and frontend

* feat(tourism): integrate Niedersachsen Hub catalogue into public and admin routing

* test(tourism): verify types, open licensing, parsers and URL safety

* test: expect Landwelle v1.5.71

* fix(tourism): independent image rights and attribution enforcement

* feat(tourism): persist independent rights-holder attribution for text and images

* feat(tourism): permit editorial source and media credit review with re-approval

* feat(tourism): add moderated text and media rights controls

* feat(tourism): show rights holder and license in public detail

* style(tourism): rights review form layout

* test(tourism): render public/admin pages and reject NC licenses

* feat(tourism): checkpoint multi-page sync to eventually traverse entire source catalogue

* feat(tourism): persist import cursors per tourist type

* docs(release): document Niedersachsen Hub and package GitHub source

* docs(release): document Niedersachsen Hub and package GitHub source

* perf(tourism): upsert source records in bounded SQL batches

* fix(tourism): de-duplicate source items before batch upsert

* fix(tourism): reject ShareAlike non-commercial and no-derivatives licenses
2026-10-12 01:06:43 +02:00

40 lines
1.2 KiB
YAML

name: Landwelle GitHub source ZIP
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
source-zip:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout exact commit
uses: actions/checkout@v4
- name: Determine version
id: version
shell: bash
run: |
version=$(sed -nE 's/^[[:space:]]*applicationVersion[[:space:]]*=[[:space:]]*"([^"]+)".*/\1/p' main.go | head -n1)
test -n "$version"
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Package tracked source
shell: bash
run: |
mkdir -p release
git archive --format=zip --output="release/landwelle-go-portal-v${{ steps.version.outputs.version }}-COMPLETE-source.zip" HEAD
cd release
sha256sum *.zip > "landwelle-go-portal-v${{ steps.version.outputs.version }}-COMPLETE-source.sha256"
unzip -t *.zip >/dev/null
- name: Upload ZIP and checksum
uses: actions/upload-artifact@v4
with:
name: landwelle-v${{ steps.version.outputs.version }}-source
path: release/*
retention-days: 14
if-no-files-found: error