Skip to content

Commit e2dc7f0

Browse files
committed
Improve SVN-related documentation
1 parent 054b5f4 commit e2dc7f0

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/contributing.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -207,21 +207,23 @@ cd image-display-control/trunk/
207207

208208
### Commit to SVN
209209

210-
Replace the `trunk` files with the previously built archive. This will require
211-
an unpredictable sequence of the following commands:
210+
Replace the `trunk` files with the previously built archive:
212211

213-
* `unzip image-display-control.zip`
214-
* `svn update`
215-
* `svn add newfile1 newfile2 newdir1`
216-
* `svn delete oldfile1`
217-
* `svn status`
212+
```bash
213+
for i in $(find . -name "*"); do svn delete $i; done
214+
rm -rf *
215+
mv ../../image-display-control-wordpress/image-display-control.zip .
216+
unzip image-display-control.zip
217+
for i in $(find . -name "*"); do svn add $i; done
218+
svn status
219+
```
218220

219221
Commit the `trunk` changes and create a new tag:
220222

221223
```bash
222224
cd ../
223225
svn copy trunk tags/1.2.3
224-
svn commit -m "1.2.3" --username my-wordpress-username --password foo
226+
svn commit -m "1.2.3" --username my-wordpress-username --password 'foo'
225227
```
226228

227229
Check the result at https://wordpress.org/plugins/image-display-control/

0 commit comments

Comments
 (0)