mirror of
https://github.com/tiennm99/ghstats.git
synced 2026-05-24 19:34:39 +00:00
cda9172701
Adds an update-major-tag job that runs after test/docker/binaries all pass. Extracts the major component from the pushed tag (v1.2.3 → v1) and force-moves that tag to the current commit, then pushes. Consumers using `uses: tiennm99/ghstats@v1` now pick up each new minor/patch release automatically without a workflow edit on their end. The v1 tag only moves if every artifact job succeeded, so it never points at a commit whose binaries or Docker image failed to publish.