From cc4eef0b1ea052f703bbd348f739626cf60720ea Mon Sep 17 00:00:00 2001 From: Aleksei Potsetsuev Date: Mon, 9 Sep 2024 19:54:42 +0800 Subject: [PATCH] ci: push fixed tag --- packages/ci/src/gulp/prepublish.ts | 5 +++- packages/di/CHANGELOG.md | 42 ------------------------------ 2 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 packages/di/CHANGELOG.md diff --git a/packages/ci/src/gulp/prepublish.ts b/packages/ci/src/gulp/prepublish.ts index 1d786b4..7c6eb0f 100644 --- a/packages/ci/src/gulp/prepublish.ts +++ b/packages/ci/src/gulp/prepublish.ts @@ -74,7 +74,10 @@ async function commitTagPush(version: string) { await execa("git", ["add", "package.json", "CHANGELOG.md"], { stdio }); await execa("git", ["commit", "--message", commitMsg], { stdio }); await execa("git", ["tag", `${tagPrefix}${version}`], { stdio }); - await execa("git", ["push", "--follow-tags"], { stdio }); + await execa("git", ["push"], { stdio }); + await execa("git", ["push", "origin", "tag", `${tagPrefix}${version}`], { + stdio, + }); } async function publishGithubRelease(preset: Preset) { diff --git a/packages/di/CHANGELOG.md b/packages/di/CHANGELOG.md deleted file mode 100644 index f5c4bea..0000000 --- a/packages/di/CHANGELOG.md +++ /dev/null @@ -1,42 +0,0 @@ -## 0.7.0 (2024-09-09) - -### Features - -* @wroud/di-tools-codemod ([949ab90](https://github.com/Wroud/foundation/commit/949ab90213ef30c3fde2efddf9f764803c38ffec)) -* add di analyzer ([2140f1a](https://github.com/Wroud/foundation/commit/2140f1ab92be940f1e0148464644e5f45f6c9a4d)) -* add github pages ([2040bf0](https://github.com/Wroud/foundation/commit/2040bf0ad84e3b775f9f8783681ed9a2a6e42b56)) -* add module and types ([b2a9561](https://github.com/Wroud/foundation/commit/b2a95618168a16dc04fd184303410d902f72f74f)) -* add strict types to ServicesRegistry.register ([d510e68](https://github.com/Wroud/foundation/commit/d510e6834658ff634fc211287d2e00edede6b9ed)) -* init workspace ([92f61f5](https://github.com/Wroud/foundation/commit/92f61f5747ffda05c24fa3273726c4c990a15754)) -* lazy implementation loading ([df33b20](https://github.com/Wroud/foundation/commit/df33b206d509ad2b0e24c41fd53a5008a73276c4)) - -### Bug Fixes - -* add version ([8d5870d](https://github.com/Wroud/foundation/commit/8d5870d58a528e32ac88498ea5574daff6fa67d4)) -* adjust memory threshold for GC ([684bfe1](https://github.com/Wroud/foundation/commit/684bfe1bd050110296e8b556038c99e9cc99c8d9)) -* ci-cd ([eeac88e](https://github.com/Wroud/foundation/commit/eeac88efe4d1d84dba49b592b303784b731406e3)) -* cyclic dependencies detection ([2845f79](https://github.com/Wroud/foundation/commit/2845f79c7573955f8899257e27f9e73a78816107)) -* proper error message while resolving scoped dependency for singleton service ([7138853](https://github.com/Wroud/foundation/commit/7138853bfcaa6fa8cba37a542b7456a750759a4b)) -* remove dist ([9563ee2](https://github.com/Wroud/foundation/commit/9563ee2659e391c2892ce1083c077fafa17028bb)) -* update types ([eeee11c](https://github.com/Wroud/foundation/commit/eeee11ced4f8d50512927245a7071ab578020341)) -## 0.6.0 (2024-09-09) - -### Features - -* @wroud/di-tools-codemod ([949ab90](https://github.com/Wroud/foundation/commit/949ab90213ef30c3fde2efddf9f764803c38ffec)) -* add di analyzer ([2140f1a](https://github.com/Wroud/foundation/commit/2140f1ab92be940f1e0148464644e5f45f6c9a4d)) -* add github pages ([2040bf0](https://github.com/Wroud/foundation/commit/2040bf0ad84e3b775f9f8783681ed9a2a6e42b56)) -* add module and types ([b2a9561](https://github.com/Wroud/foundation/commit/b2a95618168a16dc04fd184303410d902f72f74f)) -* add strict types to ServicesRegistry.register ([d510e68](https://github.com/Wroud/foundation/commit/d510e6834658ff634fc211287d2e00edede6b9ed)) -* init workspace ([92f61f5](https://github.com/Wroud/foundation/commit/92f61f5747ffda05c24fa3273726c4c990a15754)) -* lazy implementation loading ([df33b20](https://github.com/Wroud/foundation/commit/df33b206d509ad2b0e24c41fd53a5008a73276c4)) - -### Bug Fixes - -* add version ([8d5870d](https://github.com/Wroud/foundation/commit/8d5870d58a528e32ac88498ea5574daff6fa67d4)) -* adjust memory threshold for GC ([684bfe1](https://github.com/Wroud/foundation/commit/684bfe1bd050110296e8b556038c99e9cc99c8d9)) -* ci-cd ([eeac88e](https://github.com/Wroud/foundation/commit/eeac88efe4d1d84dba49b592b303784b731406e3)) -* cyclic dependencies detection ([2845f79](https://github.com/Wroud/foundation/commit/2845f79c7573955f8899257e27f9e73a78816107)) -* proper error message while resolving scoped dependency for singleton service ([7138853](https://github.com/Wroud/foundation/commit/7138853bfcaa6fa8cba37a542b7456a750759a4b)) -* remove dist ([9563ee2](https://github.com/Wroud/foundation/commit/9563ee2659e391c2892ce1083c077fafa17028bb)) -* update types ([eeee11c](https://github.com/Wroud/foundation/commit/eeee11ced4f8d50512927245a7071ab578020341))