ramasilveyra / gitpkg

Publish packages as git tags
MIT License
274 stars 27 forks source link

fix: make gitpkg publish idempotent #62

Closed appsforartists closed 2 years ago

appsforartists commented 2 years ago

By pinning the commit and author dates, SHAs become deterministic from the file contents alone. This prevents git push origin <tag> from failing, unless the underlying files don't match.

As written, this behavior becomes the new default. If we envision problems, we could add a flag that enables/disables it.

Fixes https://github.com/ramasilveyra/gitpkg/issues/60

ramasilveyra commented 2 years ago

Thank you!

ramasilveyra commented 2 years ago

released on v1.0.0-beta.4