Skip to content

Commit b15dc51

Browse files
Fix more instructions on tagging
1 parent ad3c4ea commit b15dc51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,17 @@ This is only for contributors with committer access:
133133
2. Add record in the `Changelog` section of the `readme.txt`.
134134
3. Add record in the `Upgrade Notice` section of the `readme.txt`.
135135
4. Bump the plugin version in `rollbar-php-wordpress.php` in the `Version:` comment.
136-
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]"`
137-
2. Tag the new version from the `master` branch and push upstream with `git tag [version number] && git push --tags`.
136+
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 v[version number]"`
137+
2. Tag the new version from the `master` branch and push upstream with `git tag v[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`.
140140
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.
142142
2. `git clone https://github.com/rollbar/rollbar-php-wordpress.git trunk`
143-
3. `cd trunk && git checkout tags/[version number] && cd ..`
143+
3. `cd trunk && git checkout tags/v[version number] && cd ..`
144144
4. `rm -Rf trunk/.git`
145145
5. `svn commit -m"Sync with GitHub repo"`
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]"`.
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]"`. Notice the version number in Subversion doesn't include the "v" prefix.
147147

148148
## Disclaimer
149149

0 commit comments

Comments
 (0)