Skip to content

Commit

Permalink
chore: push annotated tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Wroud committed Sep 9, 2024
1 parent 84d4f68 commit 72db485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/ci/src/gulp/prepublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@ async function commitTagPush(version: string) {
const commitMsg = `chore: release ${version}`;
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"], { stdio });
await execa("git", ["push", "origin", "tag", `${tagPrefix}${version}`], {
await execa("git", ["tag", "-a", `${tagPrefix}${version}`, "-m", commitMsg], {
stdio,
});
await execa("git", ["push", "--follow-tags"], { stdio });
}

async function publishGithubRelease(preset: Preset) {
Expand Down
2 changes: 1 addition & 1 deletion packages/di/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![ESM-only package][package]][package-url]
[![NPM version][npm]][npm-url]

<!-- [![Install size][size]][size-url] test -->
<!-- [![Install size][size]][size-url] -->

[package]: https://img.shields.io/badge/package-ESM--only-ffe536.svg
[package-url]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Expand Down

0 comments on commit 72db485

Please sign in to comment.