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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
chmod +x scripts/get-gh-release.sh ls
scripts/get-gh-release.sh
chmod +x .github/workflows/scripts/get-gh-release.sh
.github/workflows/scripts/get-gh-release.sh
- name: Commit JSON - name: Commit JSON
env: env:

View File

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