Skip to content

Commit d1c3289

Browse files
committed
👷 ci: rename build folder inside zip to match zip file name
1 parent b14363d commit d1c3289

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ jobs:
4848
- name: Zip build files in a temporary directory
4949
run: |
5050
mkdir -p /tmp/build
51-
zip -r /tmp/build/${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}.zip ./build
51+
mkdir -p /tmp/build/${PLUGIN_NAME}-${PLUGIN_VERSION}
52+
mv ./build/* /tmp/build/${PLUGIN_NAME}-${PLUGIN_VERSION}/
53+
cd /tmp/build
54+
zip -r ${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}.zip ${PLUGIN_NAME}-${PLUGIN_VERSION}
5255
5356
- name: Create release and attach zip file
5457
env:

0 commit comments

Comments
 (0)