Skip to content

feat: add reusable auto-release workflow - #4

Merged
dwisiswant0 merged 1 commit into
mainfrom
dwisiswant0/feat/add-reusable-auto-release-workflow
Nov 20, 2026
Merged

dwisiswant0 merged 1 commit into
mainfrom
dwisiswant0/feat/add-reusable-auto-release-workflow

Conversation

@dwisiswant0

Copy link
Copy Markdown
Member

25 public repos each copy a workflow that tags and releases the
commits since the last tag, and the copies have drifted. goconfig's
shallow checkout fetches no tags, so its commit count is always 0 and
it never tags. wappalyzergo released v0.3.4 for an empty commit,
because the copies count commits instead of comparing files. 28 of
the 29 copies also use the archived actions/create-release.

The workflow releases only when files outside .github/ differ from
the newest v* tag. It fails with an error when the repo has no v* tag
or that tag is not on the branch, instead of skipping silently.
svu-next then picks the version and creates the tag and the release
with GITHUB_TOKEN. A tag created that way starts no other workflow,
so a caller that builds on a release chains a job on the tag output.

cdncheck and mapcidr bump a version constant before tagging, which
this workflow does not do, so they keep their own copies.

Closes: #1

25 public repos each copy a workflow that tags and releases the
commits since the last tag, and the copies have drifted. goconfig's
shallow checkout fetches no tags, so its commit count is always 0 and
it never tags. wappalyzergo released v0.3.4 for an empty commit,
because the copies count commits instead of comparing files. 28 of
the 29 copies also use the archived actions/create-release.

The workflow releases only when files outside .github/ differ from
the newest v* tag. It fails with an error when the repo has no v* tag
or that tag is not on the branch, instead of skipping silently.
svu-next then picks the version and creates the tag and the release
with GITHUB_TOKEN. A tag created that way starts no other workflow,
so a caller that builds on a release chains a job on the tag output.

cdncheck and mapcidr bump a version constant before tagging, which
this workflow does not do, so they keep their own copies.

Closes: #1
Signed-off-by: Dwi Siswanto <[email protected]>
@dwisiswant0
dwisiswant0 merged commit 9fa7df6 into main Nov 20, 2026
@dwisiswant0
dwisiswant0 deleted the dwisiswant0/feat/add-reusable-auto-release-workflow branch November 20, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add reusable auto-release workflow to tag and release unreleased commits

1 participant