Skip to content

Commit dd91b94

Browse files
committed
fix(release): push the version tag explicitly (lightweight tags skip --follow-tags)
1 parent 90e2d4d commit dd91b94

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/release.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ sh(`git commit -m "chore: release v${next}" --no-verify`)
7575
sh(`git tag zaileys@${next}`)
7676
if (!noPush) {
7777
const branch = out('git rev-parse --abbrev-ref HEAD')
78-
sh(`git push origin ${branch} --follow-tags`)
78+
sh(`git push origin ${branch}`)
79+
sh(`git push origin zaileys@${next}`)
7980
sh(`git push origin ${branch}:main`)
8081
}
8182
console.log(`\n✔ Released zaileys@${next}`)

0 commit comments

Comments
 (0)