Commit graph

113 commits

Author SHA1 Message Date
0a34e96450
Add release helper script (#64)
This commit adds a release helper script, amongst other workflow improvements.

See `README.md` for instructions, and `_tools/release.sh` for the script itself.

This script:

1. sanity-checks the various version tags;
2. triggers a Plugin build;
3. flags the new version as pre-release;
4. tags the version in Git;
5. creates a local working copy of the SVN repo;
6. copies the new release to the local `trunk/` (whilst keeping the ‘Stable Tag’ field in `readme.txt` pointing to the previous stable version);
7. copies the commit message from the changelog in `readme.txt`; and
8. (if a flag is set) commits the changes to the remote `trunk/`.

Pushing out a new release must still be done manually, once `trunk/` is tested and working. To do so, check out a local copy of `trunk/` and:

1. update the ‘Stable Tag’ field in `trunk/readme.txt` to the new version;
2. update the ‘Version’ field in the comment header of `trunk/footnotes.php` to the new version;
3. remove the ‘p’ from the end of the ‘version’ tag in the `getInfo()` function at the bottom of `js/wsiwyg-editor.js`; 
4. copy a new tag for the release from `trunk/` (`svn cp trunk tags/<version number>`); and
5. commit your changes (`svn ci -m "Release version <version number>"`).

The WP Plugin Directory will automatically parse the ‘Stable Tag’ field in `trunk/readme.txt`, and inform users that a new version is available.

At various stages user input is required to validate information. This is not ready for automation with GitHub Actions, but is a useful step on the way — see [this piece](https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-the-key-to-gradual-automation/) for more info.

Unless a `-c` flag is passed (e.g., by running `composer run release:commit`) no changes will take place on the remote SVN repo. If you want to test this out on a branch other than `main`, uncomment lines 31 & 52 of the script.

Version checking enforces the versioning rules stated [here](https://github.com/markcheret/footnotes/wiki/Versioning).

**NB: I have not tested the `-c` mode yet, as I wanted people will more familiarity with the SVN to have a look at it before I risked making any changes and blowing everything up.**

Co-authored-by: pewgeuges <73141620+pewgeuges@users.noreply.github.com>
2021-03-17 17:46:21 +00:00
f129f3a392 Renormalise line endings 2021-02-28 14:13:07 +00:00
pewgeuges
ef8050477b Backport upcoming bugfix release 2.5.8
Will be released in response to Forum and as agreed.
= 2.5.8 =
- Bugfix: Layout: support right-to-left writing direction by replacing remaining CSS values 'left' with 'start', thanks to @arahmanshaalan bug report.
- Bugfix: Layout: support right-to-left writing direction by enabling mirrored paddings on HTML dir=rtl pages, thanks to @arahmanshaalan bug report.
2021-02-28 14:24:57 +01:00
9ee72568ef Append line endings 2021-02-23 16:00:59 +00:00
pewgeuges
67c1f443ad development update 2.5.6d2 to prepare the newly promised bugfix release adding a reference container template not using jQuery, plain JS instead.\nThe following is the changelog as drafted for this release: \n= 2.5.6 =\n- Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it issue report.\n- Update: Documentation: slightly revise / update the plugin’s welcome page on WordPress.org.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477898 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-19 19:42:45 +00:00
pewgeuges
7f5499723b traceability update 2.5.6d1 revert space indent to tab.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477300 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-18 19:56:44 +00:00
pewgeuges
f8a87d5928 dev version implementing @lolzim’s bugfix 2.5.5d2
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2476267 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-17 10:58:28 +00:00
pewgeuges
d9e23677b0 traceability update 2.5.5d1
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2476187 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-17 09:33:04 +00:00
pewgeuges
3a341d36b2 development update 2.5.5d0 to be shared on the forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2475227 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-16 02:23:40 +00:00
pewgeuges
cc52be66fa urgent bugfix 2.5.4 added missing CSS fix, ready for release?
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2474039 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-12 23:15:02 +00:00
pewgeuges
e328969abf update for urgent bugfix release 2.5.4 - preview
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2473889 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-12 17:09:45 +00:00
pewgeuges
eaaad12e9b prepare urgent bugfix release 2.5.4 - this: 2.5.4d7
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2473867 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-12 16:22:45 +00:00
pewgeuges
b009311766 prepare urgent bugfix release 2.5.4 - this: 2.5.4d6
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2473635 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-12 10:18:31 +00:00
pewgeuges
b9476b682e traceability update 2.5.4d5
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2472973 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-11 10:34:35 +00:00
pewgeuges
6706ba811e development version for urgent bugfix test in response to Forum (2.5.4d1)
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2466893 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-02 04:40:41 +00:00
pewgeuges
b34c0c12ab update with last changes (2.5.4d0)
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2463046 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-26 17:01:53 +00:00
pewgeuges
12a53754ab update for urgent bugfix upcoming 2.5.3
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2461253 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-23 00:25:35 +00:00
pewgeuges
49bb66b8bd urgent release 2.5.2
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2459302 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-19 23:45:34 +00:00
pewgeuges
22d6367a65 corrections for urgent bugfix, this: 2.5.1d2
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458560 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-18 21:31:11 +00:00
pewgeuges
f83fb80ab0 corrections for urgent bugfix, this: 2.5.1d1
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458521 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-18 20:35:16 +00:00
pewgeuges
c3c0515308 update for urgent bugfix, this: 2.5.1d0
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458511 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-18 20:09:43 +00:00
pewgeuges
1c7debbaf5 update with last changes (2.6.0d0)
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2456650 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-14 22:56:43 +00:00
pewgeuges
354b5439f0 update trunk/ in vue of urgent bugfix plus feature release 2.5.0
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2452163 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-07 21:21:29 +00:00
pewgeuges
82cb6d5268 development 2.4.0d0 needed for support
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2449533 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-03 20:03:51 +00:00
pewgeuges
919e76bdef development 2.3.1d0 for forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2448740 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-01 05:52:49 +00:00
pewgeuges
442ae6f88f development preview 2.3.0
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2448470 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-31 11:45:10 +00:00
pewgeuges
1cb44eccd5 urgent bugfix release 2.2.10 in response to forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2446030 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-25 23:00:23 +00:00
pewgeuges
ba10a9b137 preview 2.2.9d2
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2445928 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-25 15:14:43 +00:00
pewgeuges
9026c8ae19 urgent bugfix 2.2.8 fixing both bugs
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2444880 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-23 10:12:06 +00:00
pewgeuges
f3b2f0e864 urgent bugfix release 2.2.6 in response to bug report on forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2444735 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-23 03:34:51 +00:00
pewgeuges
4ff90450d6 bugfix release 2.2.5
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2442448 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-18 16:31:09 +00:00
pewgeuges
e5831a42b3 release 2.2.4 to replace 2.2.3 ASAP
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2440595 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-16 12:06:11 +00:00
pewgeuges
6c7854352b prerelease 2.2.2 because 2.2.1 is a quick patch and cannot be kept
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2439670 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-15 10:01:17 +00:00
pewgeuges
569794c634 release 2.2.0 in response to user request on Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438478 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-13 20:45:43 +00:00
pewgeuges
6bcec3b398 preview 2.2.0 for release ASAP needed in response to user request on Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438469 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-13 20:11:25 +00:00
pewgeuges
391cce446a development 2.2.0d8 with update readme “Tested up to: 5.6”. Please test UI redesign prior to adding the missing settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438063 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-12 21:07:24 +00:00
pewgeuges
0911777bc1 development update 2.2.0d6 to check remaining translated strings — internal use only, no other added value compared to current 2.1.6
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2436526 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-10 12:29:50 +00:00
pewgeuges
9511557172 bugfix release 2.1.6 fixing priority conflict, URL wrap bug and tooltip z-index bug, in response to Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2436137 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-10 04:09:17 +00:00
pewgeuges
5091fc4013 development 2.2.0d5 fixing URL wrap bug
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2435820 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-09 18:26:31 +00:00
pewgeuges
aeb18f93a6 development 2.2.0d4 fixing settings bug
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2435723 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-09 16:21:04 +00:00
pewgeuges
ceb183c99a development 2.2.0d3 for Forum (d0..d2 already past)
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2435624 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-09 15:17:51 +00:00
pewgeuges
8e02b48df3 development 2.2.0d0 for Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2435618 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-09 15:12:37 +00:00
pewgeuges
4b27b10295 bugfix 2.1.5
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432718 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-06 22:07:52 +00:00
pewgeuges
9dba60cd48 prerelease 2.1.4: this is 2.1.4 just without the tag 2.1.4; 2.2.0 will need localization, yet that implies a lot of extra changes and work. The overdue bugfixes need to be released today. Scheduled for this evening if no problems.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432631 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-06 16:30:14 +00:00
pewgeuges
ec116d10a2 development 2.2.0d2 tooltip durations settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432531 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-06 12:46:45 +00:00
pewgeuges
3e8d312969 development 2.2.0d0 merged with 2.1.4d series. Scroll offset and duration settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432050 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-05 04:48:09 +00:00
pewgeuges
c432dde37b development 2.1.4d10 with 3 new stylesheets to fix layout in page, derived from Hello Elementor under GPLv3. Need to post on forum.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431872 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-04 22:51:29 +00:00
pewgeuges
bfd563f907 development 2.1.4d9 needed for Forum, tooltip font size defaulting to legacy, edits to hook priority description
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431362 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-04 09:31:52 +00:00
pewgeuges
6e0698293c upcoming 2.1.4 was not ready, instead thanks for testing 2.1.4d8, to be shared on Forum too
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431035 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-03 17:38:14 +00:00
pewgeuges
95ed6631e2 update trunk for upcoming 2.1.4, thanks for testing 2.1.4d7 to be shared on Forum too
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2430720 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-03 07:55:27 +00:00