Skip to content

Commit 20bfe3c

Browse files
authored
Update publish.yml : update to helpUser state
1 parent 778f87c commit 20bfe3c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,13 @@ jobs:
130130
REPO: ${{ github.repository }}
131131
run: |
132132
cd _output
133-
echo "_version|$TAG" >> _config.txt
134-
echo "_prjname|$REPO" >> _config.txt
135133
136134
find . -type f -name "*.zip" -print0 | while IFS= read -r -d '' file; do
137135
echo "Language bundle to upload: $file"
138-
zip -u "$file" _config.txt
136+
unzip "$file" _config.txt
137+
echo "_version|$TAG" >> _config.txt
138+
echo "_prjname|$REPO" >> _config.txt
139+
zip -u -o "$file" _config.txt
140+
rm _config.txt
139141
gh release upload "$TAG" "$file" --repo "$REPO" --clobber
140142
done

0 commit comments

Comments
 (0)