-
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.
Merge pull request #8 from PagaMasTarde/INT-417
SVN Instructions
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 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 |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
/vendor | ||
paylater*.zip | ||
composer.phar | ||
/svn | ||
!/svn/README.md |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# SVN Instructions | ||
|
||
This file explains how to upload a new module version to Woocommerce market. | ||
|
||
## Upload | ||
|
||
1- Clone Paga+Tarde svn repository: | ||
``` | ||
svn checkout http://plugins.svn.wordpress.org/pagamastarde svn/ | ||
``` | ||
|
||
2- Move the current code to the current tag version | ||
``` | ||
mkdir svn/tags/<current_version> | ||
cp -pr svn/trunk/ svn/tags/<current_version> | ||
``` | ||
|
||
3- Remove old content inside trunk folder | ||
``` | ||
rm -rf svn/trunk/* | ||
``` | ||
|
||
4- Copy new files to trunk, overwriting the old one. | ||
``` | ||
cp -pr assets/ svn/trunk/assets/ | ||
cp -pr controllers/ svn/trunk/controllers/ | ||
cp -pr includes/ svn/trunk/includes/ | ||
cp -pr languages/ svn/trunk/languages/ | ||
cp -pr templates/ svn/trunk/templates/ | ||
cp -pr vendor/ svn/trunk/vendor/ | ||
cp readme.txt svn/trunk/readme.txt | ||
cp WC_Paylater.php svn/trunk/WC_paylater.php | ||
``` | ||
|
||
4- Add the files to svn track | ||
``` | ||
svn add -f svn/. | ||
``` | ||
|
||
5- Commit the files to svn | ||
``` | ||
svn commit -m "<new_version>" | ||
``` |