Skip to content

Commit 61f41a3

Browse files
committed
2 parents f7f7a75 + ae1378f commit 61f41a3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,11 @@ jobs:
118118
REPO: ${{ github.repository }}
119119
run: |
120120
cd _output
121-
find . -type f -name "*.zip" -exec echo "Language bundle to upload: {}" \;
122-
find . -type f -name "*.zip" -exec gh release upload "$TAG" {} --repo "$REPO" --clobber \;
121+
echo "$TAG" >> _version.txt
122+
echo "$REPO" >> _prjname.txt
123+
124+
find . -type f -name "*.zip" -print0 | while IFS= read -r -d '' file; do
125+
echo "Language bundle to upload: $file"
126+
zip -u "$file" _version.txt _prjname.txt
127+
gh release upload "$TAG" "$file" --repo "$REPO" --clobber
128+
done

0 commit comments

Comments
 (0)