mirror of
https://github.com/sune-org/store.git
synced 2026-01-14 08:38:15 +00:00
Update catalog.yml
This commit is contained in:
4
.github/workflows/catalog.yml
vendored
4
.github/workflows/catalog.yml
vendored
@@ -9,8 +9,8 @@ jobs:
|
|||||||
- run: >
|
- run: >
|
||||||
printf '['>catalog.json;c=;
|
printf '['>catalog.json;c=;
|
||||||
for f in *;do [ -f "$f" ]||continue;[ "${f:0:1}" = . ]&&continue;
|
for f in *;do [ -f "$f" ]||continue;[ "${f:0:1}" = . ]&&continue;
|
||||||
printf '%s{"name":"%s","raw":"https://raw.githubusercontent.com/%s/%s/%s","content":"' "$c" "$f" "$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" "$f">>catalog.json;
|
printf '%s{"name":"%s","raw":"https://raw.githubusercontent.com/%s/%s/%s"}' "$c" "$f" "$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" "$f">>catalog.json;
|
||||||
base64 -w0 "$f">>catalog.json;printf '"}'>>catalog.json;c=,;done;printf ']'
|
c=,;done;printf ']'
|
||||||
>>catalog.json;
|
>>catalog.json;
|
||||||
git diff --quiet -- catalog.json||(
|
git diff --quiet -- catalog.json||(
|
||||||
git add catalog.json;
|
git add catalog.json;
|
||||||
|
|||||||
Reference in New Issue
Block a user