Skip to content

Commit

Permalink
Add handy one-liner to check if updates need to be run.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenlampton committed Sep 16, 2024
1 parent 0eff8b9 commit 75bf0a8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/issue-template--release--bug-fix--security.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Release scheduled for [Month] DD, 20xx 10am - 4pm PT
- [ ] Note if updates (update.php) needs to be run, for example:
* Use the text `The database update script does **not** need to be run.`
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
* Note: you can use this command to see if any install files were changed:
`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`
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
* Navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
* Select the most recent time "Release Notes Generator" has been run.
Expand Down
2 changes: 2 additions & 0 deletions templates/issue-template--release--bug-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Release scheduled for [Month] DD, 20xx 10am - 4pm PT
- [ ] Note if updates (update.php) needs to be run, for example:
* Use the text `The database update script does **not** need to be run.`
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
* Note: you can use this command to see if any install files were changed:
`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`
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
* Navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
* Select the most recent time "Release Notes Generator" has been run.
Expand Down
2 changes: 2 additions & 0 deletions templates/issue-template--release--major.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Steps to create a MAJOR release
- [ ] Note if updates (update.php) needs to be run, for example:
* Use the text `The database update script does **not** need to be run.`
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
* Note: you can use this command to see if any install files were changed:
`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`
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
* navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
* Select the most recent time "Release Notes Generator" has been run.
Expand Down
2 changes: 2 additions & 0 deletions templates/issue-template--release--minor-preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Scheduled for January/May/September 1st, 20xx 10am - 4pm PT
- [ ] Note if updates (update.php) needs to be run, for example:
* Use the text `The database update script does **not** need to be run.`
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
* Note: you can use this command to see if any install files were changed:
`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`
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
* navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
* Select the most recent time "Release Notes Generator" has been run.
Expand Down
2 changes: 2 additions & 0 deletions templates/issue-template--release--minor.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Scheduled for January/September/May 15, 20xx 10am - 4pm PT
* Use the text `The database update script does **not** need to be run.`
* or `**It will be necessary to run the update script** (located at /core/update.php) for this release.`
- [ ] Include a section heading `**Changes since version 1.xx.x** are listed below.`
* Note: you can use this command to see if any install files were changed:
`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`
* Navigate to [Actions](https://github.com/backdrop/backdrop-issues/actions)
* Select the most recent time "Release Notes Generator" has been run.
* Download the `release-notes` artifact attached to the generator.
Expand Down

0 comments on commit 75bf0a8

Please sign in to comment.