Skip to content

v0.2.2 - compare the peeled tag commit so re-runs are a no-op

Choose a tag to compare

@Boenxia Boenxia released this 15 Oct 02:45
· 1 commit to main since this release

[0.2.2] - 2026-10-15

Fixed

  • npm run release compared the tag with HEAD through the bare ref, which for
    an annotated tag yields the tag object rather than the commit it marks — so
    a tag that did point at HEAD was reported as pointing somewhere else, and
    re-running a finished release failed. It now compares the peeled commit
    (refs/tags/v<x.y.z>^{commit}). As a result a completed release is a clean
    no-op: the push and the tag are skipped and the existing GitHub Release is
    reported instead of being posted a second time.

Added

  • test/release.test.js pins the peeling down against a throwaway repository.