Skip to content

Commit

Permalink
Changed instructions to point to new release.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
fkrauthan committed Oct 6, 2017
1 parent e2d75b3 commit 226bc57
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions readme.md
Expand Up @@ -246,28 +246,17 @@ You should have received a copy of the GNU General Public License along with wp-

## Publish to wordpress ##

### Setup git svn ###
### Setup svn ###

git svn init -s https://plugins.svn.wordpress.org/wp-mpdf
git svn fetch
You need to install the subversion client on your local system

git show-ref trunk
# Find last git commit for svn
echo "GIT_REV TRUNK_REV" >> .git/info/grafts
git svn rebase
### Commit changes to git ###

Make sure that all your changes are committed to the repository. The deployment script will stop in case there are uncommitted changes to prevent any mistakes.

### Commit changes to wordpress svn ###

git svn rebase
git svn dcommit
### Publish new version ###

You just need to execute the `release.sh` script. It will take care of some basic validation and the full publish process.

### Tagging new version ###

git svn tag "VERSION"
git tag -a VERSION -m "Tagging VERSION"

git pull --rebase origin master
git push origin master
git push origin --tags
./release.sh

0 comments on commit 226bc57

Please sign in to comment.