Skip to content

Commit 370c9c5

Browse files
authored
Update auto-zip-release.yml
1 parent 95080c1 commit 370c9c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/auto-zip-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
124124
if [ -d "tmp-$branch/$PATH_TO_ZIP" ]; then
125125
echo "Creating ZIP archive..."
126-
(cd "tmp-$branch" && zip -r "../zips/$branch.zip" "$PATH_TO_ZIP")
127-
echo "ZIP created: zips/$branch.zip"
126+
(cd "tmp-$branch" && zip -r "../zips/archive.zip" "$PATH_TO_ZIP")
127+
echo "ZIP created: zips/archive.zip"
128128
else
129129
echo "Directory '$PATH_TO_ZIP' not found in branch $branch. Skipping."
130130
rm -rf "tmp-$branch"
@@ -154,8 +154,8 @@ jobs:
154154
curl -s -X POST \
155155
-H "Authorization: token $GH_TOKEN" \
156156
-H "Content-Type: application/zip" \
157-
--data-binary @"zips/$branch.zip" \
158-
"$UPLOAD_URL?name=$branch.zip"
157+
--data-binary @"zips/archive.zip" \
158+
"$UPLOAD_URL?name=archive.zip"
159159
160160
echo "Release created successfully for branch $branch."
161161
echo "-----------------------------------"

0 commit comments

Comments
 (0)