diff --git a/docs/releasing.md b/docs/releasing.md index f2d9b5b5..ee37832d 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -18,7 +18,8 @@ $ git pull --rebase mithriljs next ``` 2. Determine patch level of the change -3. Update information in `docs/change-log.md` to match reality of the new version being prepared for release +3. Update information in `docs/change-log.md` to match reality of the new version being prepared for release. + - Don't forget to add today's date under the version heading! 4. Replace all existing references to `mithril@next` to `mithril` if moving from a release candidate to stable. - Note: if making an initial release candidate, don't forget to move all the playground snippets to pull from `mithril@next`! 5. Commit changes to `next` @@ -131,8 +132,10 @@ $ git pull --rebase mithriljs next ``` 2. Determine patch level of the change -3. Update `version` field in `ospec/package.json` to match new version being prepared for release -4. Commit changes to `next` +3. Update `version` field in `ospec/package.json` to match new version being prepared for release. +4. Update `ospec/change-log.md` to match new version being prepared for release. + - Don't forget to add today's date under the version heading! +5. Commit changes to `next` ``` $ git add . diff --git a/scripts/release.js b/scripts/release.js index a60cd80f..a6bd7200 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -123,7 +123,9 @@ async function release({increment, preid, publish}) { console.error(` Copy the parts listed in "Upcoming" to a new section "### v${version}" in -docs/change-log.md and clear that section out. +docs/change-log.md and clear that section out. Also, add today's date under the +new section's heading to match the others and don't forget to update the table +of contents accordingly. `) for (;;) {