From 75bf0a8aaa8cd158ebafbf2854172eb0bfa1caa5 Mon Sep 17 00:00:00 2001 From: Jen Lampton Date: Mon, 16 Sep 2024 13:51:40 -0700 Subject: [PATCH] Add handy one-liner to check if updates need to be run. --- templates/issue-template--release--bug-fix--security.md | 2 ++ templates/issue-template--release--bug-fix.md | 2 ++ templates/issue-template--release--major.md | 2 ++ templates/issue-template--release--minor-preview.md | 2 ++ templates/issue-template--release--minor.md | 2 ++ 5 files changed, 10 insertions(+) diff --git a/templates/issue-template--release--bug-fix--security.md b/templates/issue-template--release--bug-fix--security.md index d5520cc..ae5ad11 100644 --- a/templates/issue-template--release--bug-fix--security.md +++ b/templates/issue-template--release--bug-fix--security.md @@ -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. diff --git a/templates/issue-template--release--bug-fix.md b/templates/issue-template--release--bug-fix.md index 3c5ba0c..00c2830 100644 --- a/templates/issue-template--release--bug-fix.md +++ b/templates/issue-template--release--bug-fix.md @@ -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. diff --git a/templates/issue-template--release--major.md b/templates/issue-template--release--major.md index 3e7a98f..da335f5 100644 --- a/templates/issue-template--release--major.md +++ b/templates/issue-template--release--major.md @@ -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. diff --git a/templates/issue-template--release--minor-preview.md b/templates/issue-template--release--minor-preview.md index b8579b3..eddf461 100644 --- a/templates/issue-template--release--minor-preview.md +++ b/templates/issue-template--release--minor-preview.md @@ -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. diff --git a/templates/issue-template--release--minor.md b/templates/issue-template--release--minor.md index 5642f57..8b336a3 100644 --- a/templates/issue-template--release--minor.md +++ b/templates/issue-template--release--minor.md @@ -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.