Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
8e55c6e14d
6
.github/workflows/get-versions-from-gh.yaml
vendored
6
.github/workflows/get-versions-from-gh.yaml
vendored
@ -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:
|
||||||
|
6
.github/workflows/scripts/get-gh-release.sh
vendored
6
.github/workflows/scripts/get-gh-release.sh
vendored
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user