Skip to content

ci: publish releases with the reusable goreleaser-publish workflow - #83

Open
dwisiswant0 wants to merge 1 commit into
mainfrom
dwisiswant0/ci/publish-releases-with-the-reusable-goreleaser
Open

dwisiswant0 wants to merge 1 commit into
mainfrom
dwisiswant0/ci/publish-releases-with-the-reusable-goreleaser

Conversation

@dwisiswant0

Copy link
Copy Markdown
Member

Release Binary started on create events, so it ran for every new
branch (#78). It never ran for a tag: Auto Release creates the tags
with GITHUB_TOKEN, and a tag created that way starts no workflow.
None of the last five releases has binaries.

Add a publish job to Auto Release that calls goreleaser-publish.yaml,
the reusable workflow in projectdiscovery/workflows, with the tag the
release job created. GoReleaser uploads dstdocgen to that release and
keeps its notes. Release Binary now calls the same workflow on a v*
tag push, for a tag pushed by hand, and a manual run has to start
from a tag.

Fixes: #78
Refs: projectdiscovery/workflows#23

Release Binary started on create events, so it ran for every new
branch (#78). It never ran for a tag: Auto Release creates the tags
with GITHUB_TOKEN, and a tag created that way starts no workflow.
None of the last five releases has binaries.

Add a publish job to Auto Release that calls goreleaser-publish.yaml,
the reusable workflow in projectdiscovery/workflows, with the tag the
release job created. GoReleaser uploads dstdocgen to that release and
keeps its notes. Release Binary now calls the same workflow on a v*
tag push, for a tag pushed by hand, and a manual run has to start
from a tag.

Fixes: #78
Refs: projectdiscovery/workflows#23
Signed-off-by: Dwi Siswanto <git@dw1.io>
@dwisiswant0
dwisiswant0 requested a review from Mzack9999 December 3, 2026 09:53
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.

Release Binary runs whenever a branch is created

1 participant