diff --git a/.github/workflows/remove-next-changelog-entries.yml b/.github/workflows/remove-next-changelog-entries.yml index 977d7a8ff6c..91c2063bc8d 100644 --- a/.github/workflows/remove-next-changelog-entries.yml +++ b/.github/workflows/remove-next-changelog-entries.yml @@ -21,6 +21,7 @@ jobs: node-version: 16 - name: Remove Next Changelog Entries run: | + git pull npm install npm run util:remove-next-changelog-entries - name: Push Changes diff --git a/package.json b/package.json index f937b1ed67a..090d882e506 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,10 @@ "prepare": "husky install", "preversion": "npm run util:is-in-sync-with-origin && npm run util:is-working-tree-clean", "test": "turbo run test", - "util:is-in-sync-with-origin": "[ \"$(git rev-parse --abbrev-ref HEAD)\" = \"main\" ] && [ \"$(git rev-parse main)\" = \"$(git rev-parse origin/main)\" ]", + "util:is-in-sync-with-origin": "[ \"$(git rev-parse --abbrev-ref HEAD)\" = \"master\" ] && [ \"$(git rev-parse master)\" = \"$(git rev-parse origin/master)\" ]", "util:is-next-deployable": "ts-node --esm support/isNextDeployable.ts", "util:is-working-tree-clean": "[ -z \"$(git status --porcelain=v1)\" ]", - "util:push-tags": "git push origin main --follow-tags", + "util:push-tags": "git push origin master --follow-tags", "util:remove-next-changelog-entries": "ts-node --esm support/removeNextChangelogEntries.ts", "util:sync-linked-package-versions": "ts-node --esm support/syncLinkedPackageVersions.ts" },