Skip to content

Commit 4fac515

Browse files
create zip artifact
1 parent 89889d7 commit 4fac515

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
name: Deploy plugin to wordpress.org
140140
command: /bin/bash .circleci/deploy.sh
141141
- store_artifacts:
142-
path: /tmp/artifacts
142+
path: /tmp/zip
143143

144144
workflows:
145145
version: 2

.circleci/deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@ svn status
7474

7575
echo "Committing files..."
7676
# svn commit -m "Release version $RELEASE_TAG." --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
77+
mkdir /tmp/zip
78+
cd /tmp/zip
79+
tar -czvf /tmp/zip/1.5.2.tar.gz /tmp/artifacts/tags/1.5.2
7780

7881
echo "Plugin version $RELEASE_TAG deployed."

0 commit comments

Comments
 (0)