Skip to content

Commit 141f749

Browse files
Fixed tagging instructions
1 parent 0c90322 commit 141f749

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ This is only for contributors with committer access:
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.
139139
1. Fetch the latest contents of Subversion repo with `svn update`.
140-
2. Remove the contents of `trunk/` with `rm -Rf trunk/*`.
140+
2. Remove the contents of `trunk/` with `rm -Rf trunk`.
141141
3. Update the contents of `trunk/` with a clone of the tag you created in step 2.
142-
1. `git clone https://github.com/rollbar/rollbar-php-wordpress.git trunk/`
143-
2. `git checkout tags/[version number]`
144-
3. `rm -Rf trunk/.git`
145-
4. `svn commit -m"Sync with GitHub repo"`
142+
2. `git clone https://github.com/rollbar/rollbar-php-wordpress.git trunk`
143+
3. `cd trunk && git checkout tags/[version number] && cd ..`
144+
4. `rm -Rf trunk/.git`
145+
5. `svn commit -m"Sync with GitHub repo"`
146146
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]"`.
147147

148148
## Disclaimer

0 commit comments

Comments
 (0)