chore: update project structure and workflows

- Update .gitignore for new backend structure
- Update GitHub workflows for transcriptarr rename
- Update launcher.py to use new module name
This commit is contained in:
2026-01-11 21:24:11 +01:00
parent 4e9e3c4159
commit 8acbe84b15
5 changed files with 17 additions and 17 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Get version from subgen.py
- name: Get version from transcriptarr.py
id: get_version
run: |
version=$(grep -oP "subgen_version\s*=\s*'\K[^']+" subgen.py)

View File

@@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0
- name: Get version from subgen.py
- name: Get version from transcriptarr.py
id: get_version
run: |
version=$(grep -oP "subgen_version\s*=\s*'\K[^']+" subgen.py)

View File

@@ -5,7 +5,7 @@ on:
branches:
- 'main'
paths:
- 'subgen.py'
- '../../transcriptarr.py'
workflow_dispatch: # Allow manual triggering
jobs:
@@ -26,11 +26,11 @@ jobs:
echo "COMMIT_COUNT=$COMMIT_COUNT"
echo "VERSION=${YEAR}.${MONTH}.${COMMIT_COUNT}" >> $GITHUB_ENV
- name: Update subgen.py with version
- name: Update transcriptarr.py with version
run: |
sed -i "s/subgen_version =.*/subgen_version = '${{ env.VERSION }}'/" subgen.py
- name: Check if subgen.py was actually changed (compare with HEAD)
- name: Check if transcriptarr.py was actually changed (compare with HEAD)
id: check_change
run: |
if git diff --quiet HEAD subgen.py; then
@@ -39,7 +39,7 @@ jobs:
echo "::set-output name=changed::true"
fi
- name: Amend commit if subgen.py changed
- name: Amend commit if transcriptarr.py changed
if: steps.check_change.outputs.changed == 'true'
env:
GIT_AUTHOR_NAME: "McCloudS"