Use during silverstripe/recipe-kitchen-sink
release to update .cow.pat.json
- fill in prior versions
- work out next minor version from GitHub API
Add the following files to the root folder:
.cow.pat.json
- this is whatever cow spits out first time after release:plan, it'll be wrong.prior.cow.pat.json
- copy paste the .cow.pat.json from confluence of the previous stable release
Create the file .credentials
user=my_github_username
token=abcdef123456
Copy the file release.sample.txt
to release.txt
and set 1
(yes) or 0
(no) for the modules you wish to release.
U
(upgarde-only) moduels will never release. 0
and U
modules will use the latest availabe tag for the current major
There's some code within run.php to regenerate release.sample.txt
if needed
php run.php
Will create output.json
- use this as your new .cow.pat.json
php run.php beta1
php run.php rc1