Update copy and zip to be stricter and rely on cd
All checks were successful
Build & Release WordPress Plugin / build (push) Successful in 34s
All checks were successful
Build & Release WordPress Plugin / build (push) Successful in 34s
This commit is contained in:
parent
fa0b438a95
commit
b430067759
1 changed files with 4 additions and 2 deletions
|
@ -47,10 +47,12 @@ jobs:
|
|||
# Create a build directory to ensure that we're correctly creating
|
||||
# a single child directory in the zip.
|
||||
mkdir -p build
|
||||
cp -r ${SOURCE_DIR}/* "build/${PLUGIN_NAME}"
|
||||
cp -r ${SOURCE_DIR} "build/${PLUGIN_NAME}"
|
||||
|
||||
# Zip it up for shipping
|
||||
zip -r "${PLUGIN_NAME}.zip" "build/${PLUGIN_NAME}"
|
||||
cd build
|
||||
zip -r "../${PLUGIN_NAME}.zip" "${PLUGIN_NAME}"
|
||||
cd -
|
||||
|
||||
- name: Create Release if not exists
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue