Skip to content

Commit 0c90322

Browse files
Add svn update step to tagging instructions
1 parent e69604a commit 0c90322

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,14 @@ This is only for contributors with committer access:
136136
5. Add and commit the changes you made to bump the plugin version: `git add readme.txt rollbar-php-wordpress.php && git commit -m"Bump version to [version number]"`
137137
2. Tag the new version from the `master` branch and push upstream with `git tag [version number] && git push --tags`.
138138
3. Update the WordPress Plugin Directory Subversion Repository.
139-
1. Remove the contents of `trunk/` with `rm -Rf trunk/*`.
140-
2. Update the contents of `trunk/` with a clone of the tag you created in step 2.
139+
1. Fetch the latest contents of Subversion repo with `svn update`.
140+
2. Remove the contents of `trunk/` with `rm -Rf trunk/*`.
141+
3. Update the contents of `trunk/` with a clone of the tag you created in step 2.
141142
1. `git clone https://github.com/rollbar/rollbar-php-wordpress.git trunk/`
142143
2. `git checkout tags/[version number]`
143144
3. `rm -Rf trunk/.git`
144145
4. `svn commit -m"Sync with GitHub repo"`
145-
3. Create the Subversion tag: `svn copy https://plugins.svn.wordpress.org/rollbar/trunk https://plugins.svn.wordpress.org/rollbar/tags/[version number] -m"Tag [version number]"`.
146+
4. Create the Subversion tag: `svn copy https://plugins.svn.wordpress.org/rollbar/trunk https://plugins.svn.wordpress.org/rollbar/tags/[version number] -m"Tag [version number]"`.
146147

147148
## Disclaimer
148149

0 commit comments

Comments
 (0)