From c83eeefeb2671681e82c0aa69d0b3d56c6299161 Mon Sep 17 00:00:00 2001 From: Dan Ribbens Date: Mon, 4 Mar 2024 11:01:42 -0500 Subject: [PATCH] chore: release script tag and commit as default --- scripts/release.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.ts b/scripts/release.ts index eaa44eee3..945dfa5d4 100755 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -36,7 +36,7 @@ const { bump = 'patch', // Semver release type changelog = false, // Whether to update the changelog. WARNING: This gets throttled on too many commits 'dry-run': dryRun, - 'git-tag': gitTag = false, // Whether to run git tag and commit operations + 'git-tag': gitTag = true, // Whether to run git tag and commit operations tag = 'latest', } = args @@ -170,7 +170,7 @@ async function main() { header(`🧑‍💻 Committing changes...`) // Commit all staged changes - runCmd(`git add CHANGELOG.md packages package.json`, execOpts) + runCmd(`git add CHANGELOG.md packages/**/package.json package.json`, execOpts) runCmd(`git commit -m "chore(release): v${nextReleaseVersion} [skip ci]"`, execOpts) // Tag