-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4825335
commit a7f3070
Showing
1 changed file
with
1 addition
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,8 +42,6 @@ if [[ -z "$IGNORE_FILE" ]]; then | |
IGNORE_FILE=".wporgignore" | ||
fi | ||
|
||
ls -la | ||
|
||
echo '----------------' | ||
# Echo Plugin Slug | ||
echo "ℹ︎ SLUG is $SLUG" | ||
|
@@ -61,14 +59,12 @@ SVN_DIR="/github/svn-${SLUG}" | |
echo "➤ Checking out .org repository..." | ||
svn checkout --depth immediates "$SVN_URL" "$SVN_DIR" | ||
cd "$SVN_DIR" | ||
ls -la | ||
svn update --set-depth infinity assets | ||
svn update --set-depth infinity trunk | ||
|
||
|
||
echo "➤ Copying files..." | ||
cd "$GITHUB_WORKSPACE" | ||
ls -la | ||
|
||
# "Export" a cleaned copy to a temp directory | ||
TMP_DIR="/github/archivetmp" | ||
|
@@ -117,13 +113,4 @@ svn status | |
echo "➤ Committing files..." | ||
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$WORDPRESS_USERNAME" --password "$WORDPRESS_PASSWORD" | ||
|
||
echo "✓ Plugin deployed!" | ||
|
||
# Add File To Commit | ||
#git add -A | ||
|
||
# Add Commit Message | ||
#git commit -m "WordPress POT File Created/Update" | ||
|
||
# Push To Github | ||
#git push "https://x-access-token:[email protected]/$GITHUB_REPOSITORY" HEAD:$BRANCH | ||
echo "✓ Plugin deployed!" |