Skip to content

Commit 75bf0a8

Browse files
committed
Add handy one-liner to check if updates need to be run.
1 parent 0eff8b9 commit 75bf0a8

5 files changed

+10
-0
lines changed

templates/issue-template--release--bug-fix--security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Release scheduled for [Month] DD, 20xx 10am - 4pm PT
3232
- [ ] Note if updates (update.php) needs to be run, for example:
3333
* Use the text `The database update script does **not** need to be run.`
3434
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
35+
* Note: you can use this command to see if any install files were changed:
36+
`ls -1 core/modules/*/*.install | while read filename; do echo "$(git log -1 --pretty="format:%ad %f" --date=format:"%F %R" -- $filename)" $filename; done|sort`
3537
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
3638
* Navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
3739
* Select the most recent time "Release Notes Generator" has been run.

templates/issue-template--release--bug-fix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Release scheduled for [Month] DD, 20xx 10am - 4pm PT
3131
- [ ] Note if updates (update.php) needs to be run, for example:
3232
* Use the text `The database update script does **not** need to be run.`
3333
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
34+
* Note: you can use this command to see if any install files were changed:
35+
`ls -1 core/modules/*/*.install | while read filename; do echo "$(git log -1 --pretty="format:%ad %f" --date=format:"%F %R" -- $filename)" $filename; done|sort`
3436
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
3537
* Navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
3638
* Select the most recent time "Release Notes Generator" has been run.

templates/issue-template--release--major.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Steps to create a MAJOR release
2626
- [ ] Note if updates (update.php) needs to be run, for example:
2727
* Use the text `The database update script does **not** need to be run.`
2828
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
29+
* Note: you can use this command to see if any install files were changed:
30+
`ls -1 core/modules/*/*.install | while read filename; do echo "$(git log -1 --pretty="format:%ad %f" --date=format:"%F %R" -- $filename)" $filename; done|sort`
2931
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
3032
* navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
3133
* Select the most recent time "Release Notes Generator" has been run.

templates/issue-template--release--minor-preview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Scheduled for January/May/September 1st, 20xx 10am - 4pm PT
3131
- [ ] Note if updates (update.php) needs to be run, for example:
3232
* Use the text `The database update script does **not** need to be run.`
3333
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
34+
* Note: you can use this command to see if any install files were changed:
35+
`ls -1 core/modules/*/*.install | while read filename; do echo "$(git log -1 --pretty="format:%ad %f" --date=format:"%F %R" -- $filename)" $filename; done|sort`
3436
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
3537
* navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
3638
* Select the most recent time "Release Notes Generator" has been run.

templates/issue-template--release--minor.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Scheduled for January/September/May 15, 20xx 10am - 4pm PT
3333
* Use the text `The database update script does **not** need to be run.`
3434
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
3535
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
36+
* Note: you can use this command to see if any install files were changed:
37+
`ls -1 core/modules/*/*.install | while read filename; do echo "$(git log -1 --pretty="format:%ad %f" --date=format:"%F %R" -- $filename)" $filename; done|sort`
3638
* Navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
3739
* Select the most recent time "Release Notes Generator" has been run.
3840
* Download the `release-notes` artifact attached to the generator.

0 commit comments

Comments
 (0)