Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix a couple release ci issues #7145

Merged
merged 1 commit into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/remove-next-changelog-entries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down