38 Commits

Author SHA1 Message Date
Dylan K. Taylor
e0fdbe6eb1
make-release: don't automatically push
this is rather obnoxious when attempting to push test releases to a
fork.
2023-03-15 20:47:01 +00:00
Dylan K. Taylor
93d844a281
build/make-release: improve support for non-stable release channels 2023-03-07 16:12:27 +00:00
Dylan K. Taylor
0d169b4e80
Filesystem: added fileGetContents to reduce ErrorToExceptionHandler boilerplate code 2022-12-25 17:13:51 +00:00
Dylan K. Taylor
38d6284671
Use PHP-CS-Fixer to enforce file header presence 2022-06-04 17:34:49 +01:00
Dylan K. Taylor
ee6548aa50
Merge branch 'stable' into next-minor 2022-01-14 00:45:49 +00:00
Dylan K. Taylor
0ccb47fb07
make-release: trap more errors 2022-01-13 21:46:06 +00:00
Dylan K. Taylor
889d048ca3
Make use of Utils::assumeNotFalse() in a bunch of places
I've stuck to only doing this in the places where I'm sure we should never get false back. Other places I'm less sure of (and I found more bugs along the way).
2021-12-08 19:39:04 +00:00
Dylan K. Taylor
269231c228
Ban foreach(arrayWithStringKeys as k => v)
this is not as good as phpstan/phpstan-src#769 (e.g. array_key_first()/array_key_last() aren't covered by this, nor is array_rand()) but it does eliminate the most infuriating cases where this usually crops up.
2021-11-15 22:52:05 +00:00
Dylan K. Taylor
d0474ccd92
make-release: note which channel the build will be released into 2021-10-28 16:29:20 +01:00
Dylan K. Taylor
2b0768f720
make-release: fixed retention of +dev on release versions 2021-10-28 16:26:56 +01:00
Dylan K. Taylor
dba148cfaa
build/make-release: make arg parsing use getopt 2021-10-28 16:25:18 +01:00
Dylan K. Taylor
64347e9499
Merge branch 'stable' 2021-09-07 12:45:52 +01:00
Dylan K. Taylor
0c0eb72b1b
make-release: display the current and next version numbers 2021-09-05 15:46:40 +01:00
Dylan K. Taylor
92f3a7d206
make-release: allow specifying the nextVer as well as currentVer 2021-09-05 15:29:55 +01:00
Dylan K. Taylor
b4b3c21d30
Merge branch 'stable' 2021-08-19 15:39:16 +01:00
Dylan T
7bd8d09023
GitHub Actions: automatically build and upload release artifacts, and auto-update update.pmmp.io (#4376) 2021-08-18 14:02:52 +01:00
Dylan K. Taylor
a012e7ccc0
VersionInfo: make static methods more constant-like
if we could have class constants declared at runtime, these would be constant.
2021-08-16 16:37:36 +01:00
Dylan K. Taylor
920eb7cce5
Merge branch 'stable' 2021-06-09 13:46:00 +01:00
Dylan K. Taylor
b85f3bd149
make-release: abort on no changelog changes 2021-06-08 20:20:30 +01:00
Dylan K. Taylor
b032d49722
Merge branch 'stable' 2021-03-28 19:41:23 +01:00
Dylan K. Taylor
e42a691da9
Strip trailing whitespace 2021-03-28 19:02:51 +01:00
Dylan K. Taylor
5fa4e284bf
Merge branch 'stable' 2020-12-27 19:35:27 +00:00
Dylan K. Taylor
5920b0ba40
Remove _PHPSTAN_ANALYSIS constant
we don't need this anymore since PHPStan is able to intelligently decide whether to autoload a file or not.
2020-12-27 19:10:40 +00:00
Dylan K. Taylor
2a1d1e90a2 php-cs-fixer nits 2020-10-21 16:44:57 +01:00
Dylan K. Taylor
32134ef1ac make-release: remove extra newline 2020-08-01 16:06:05 +01:00
Dylan K. Taylor
9873f53e0c make-release: added missing import 2020-08-01 16:02:42 +01:00
Dylan K. Taylor
2c29634d03 Remove VERSION and GIT_COMMIT constants
these are now lazily computed in VersionInfo as needed.
2020-07-25 19:17:33 +01:00
Dylan K. Taylor
2645b19617 Convert VersionInfo into a final class
this allows it to be loaded by the autoloader without additional changes.
2020-07-25 19:00:48 +01:00
Dylan K. Taylor
67247b2e81 fix make-release 2020-04-19 13:53:06 +01:00
Dylan K. Taylor
fd2a7797bd include make-release.php in phpstan analysis 2020-02-05 15:55:41 +00:00
Dylan K. Taylor
d418dd7a09 build/make-release: fix formatting 2020-02-03 11:17:16 +00:00
Dylan K. Taylor
f3209ccc33 build/make-release: remove unused import 2020-02-03 11:16:51 +00:00
Dylan K. Taylor
b08c38f8f9 build/make-release: remove redundant require_once
this is included by vendor/autoload.php since 3.7.x.
2019-12-17 11:47:07 +00:00
Dylan K. Taylor
314ce1d012 build/make-release: push after 5 seconds instead of 10 2019-11-11 16:41:50 +00:00
Dylan K. Taylor
59c310b914 unfuck the make-release script 2019-07-12 18:59:54 +01:00
Dylan K. Taylor
5430f19e7a make-release: allow specifying a version number explicitly 2019-07-12 18:18:26 +01:00
Dylan K. Taylor
7c52b4c93d make-release: added a missing newline 2019-07-07 18:02:25 +01:00
Dylan K. Taylor
15fa1056b7 added make-release script 2019-06-25 18:03:48 +01:00