Skip to content

Commit 533359a

Browse files
Updated release steps and added release notes.
1 parent 9fe15de commit 533359a

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

RELEASE

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ In order to release a new version of the plugin to wordpress.org, perform the fo
22

33
1. Update the version in tiny-compress-images.php
44
2. Change the 'Stable tag' in readme.txt to the new release number.
5-
3. If you've changed the plugin to work with newer version of wordpress add that to the readme as well.
6-
4. Commit and push to GitHub.
7-
5. Create a new release in GitHub and pull it in.
8-
6. Locally, checkout the new tag: `git checkout <tagged version>`.
9-
7. If not already done so, checkout the plugin's Subversion repository: `svn co http://plugins.svn.wordpress.org/tiny-compress-images`.
10-
8. Update svn:ignore property of trunk when .gitignore is updated: `svn propedit svn:ignore trunk`.
11-
9. Delete everything in trunk `rm -rf <path-to-local-svn-repo/trunk/*`.
12-
10. Manually copy the Git release to the local Subversion repo: `git ls-files | xargs tar c | tar x -C <path-to-local-svn-repo>/trunk/`.
13-
11. Add new files `svn st | awk '/^\?/ { print $2; }' | xargs svn add`.
14-
12. Delete deleted files: `svn st | awk '/^!/ { print $2; }' | xargs svn rm`.
15-
13. Commit the trunk to Subversion: `svn ci -m "<message>"`.
16-
14. Tag the new release in Subversion and commit: `svn cp trunk tags/<version> && svn ci -m "<message>"`.
5+
3. Add release notes to readme.txt.
6+
4. If you've changed the plugin to work with newer version of wordpress add that to the readme as well.
7+
5. Commit and push to GitHub.
8+
6. Create a new release in GitHub and pull it in.
9+
7. Locally, checkout the new tag: `git checkout <tagged version>`.
10+
8. If not already done so, checkout the plugin's Subversion repository: `svn co http://plugins.svn.wordpress.org/tiny-compress-images`.
11+
9. Update svn:ignore property of trunk when .gitignore is updated: `svn propedit svn:ignore trunk`.
12+
10. Delete everything in trunk `rm -rf <path-to-local-svn-repo/trunk/*`.
13+
11. Manually copy the Git release to the local Subversion repo: `git ls-files | xargs tar c | tar x -C <path-to-local-svn-repo>/trunk/`.
14+
12. Add new files `svn st | awk '/^\?/ { print $2; }' | xargs svn add`.
15+
13. Delete deleted files: `svn st | awk '/^!/ { print $2; }' | xargs svn rm`.
16+
14. Commit the trunk to Subversion: `svn ci -m "<message>"`.
17+
15. Tag the new release in Subversion and commit: `svn cp trunk tags/<version> && svn ci -m "<message>"`.

readme.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ A: Yes! After installing the plugin, go to Tools > Compress JPEG & PNG images, a
9898

9999
== Changelog ==
100100

101+
= 1.4.0 =
102+
* Added indication of number of images you can compress for free each month.
103+
* Added link to settings page from the plugin listing.
104+
* Added clarification that by checking the original image size your original images will be overwritten.
105+
101106
= 1.3.2 =
102107
* In some cases a user would have different file sizes defined in Settings > Media which have the exact same pixel dimensions. Compressing images could then occasionally result in compressing the same image multiple times without being seen as 'compressed'. We now detect duplicate file sizes and don't compress them again.
103108

0 commit comments

Comments
 (0)