This commit is contained in:
CanbiZ 2025-04-10 15:38:35 +02:00
commit 8e55c6e14d
2 changed files with 7 additions and 5 deletions

View File

@ -32,8 +32,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
chmod +x scripts/get-gh-release.sh
scripts/get-gh-release.sh
ls
chmod +x .github/workflows/scripts/get-gh-release.sh
.github/workflows/scripts/get-gh-release.sh
- name: Commit JSON
env:

View File

@ -1,7 +1,7 @@
#!/bin/bash
INPUT_FILE="repos.txt"
OUTPUT_FILE="../../public/frontend/versions.json"
INPUT_FILE=".github/workflows/scripts/repos.txt"
OUTPUT_FILE="frontend/public/json/versions.json"
TMP_FILE="releases_tmp.json"
if [ -f "$OUTPUT_FILE" ]; then
@ -36,4 +36,4 @@ while IFS= read -r repo; do
done < "$INPUT_FILE"
mv "$TMP_FILE" "$OUTPUT_FILE"
#mv "$TMP_FILE" "$OUTPUT_FILE"