Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): different tags trigger different release pipelines #467

Merged
merged 3 commits into from
May 30, 2024

Conversation

panshuai-ps
Copy link
Collaborator

@panshuai-ps panshuai-ps commented May 29, 2024

What type of PR is this?

/kind chore

What this PR does / why we need it:

Different tags trigger different release pipelines, such as:

  • v1.2.3-alpha.0:
    • Usually on the development branch.
    • Trigger a release pipeline for develop.
    • Only build & push image, do not publish artifact to github release.
  • v1.2.3-beta.0:
    • Usually on the main branch.
    • Trigger a release pipeline for verify.
    • Only build & push image, do not publish artifacts to github release.
  • v1.2.3-rc.0:
    • Usually on the main branch.
    • Trigger a release pipeline for candidate.
    • It will be fully publish to github release, but will be marked as pre-release label.
  • v1.2.3:
    • Usually on the main branch.
    • Trigger a release pipeline for officially released.
    • It will be fully publish to github release, and will be marked as latest label.
  • Other tag:
    • Ignored, will not trigger the release pipeline.

@elliotxx elliotxx changed the title chore: add unstable go releaser chore(ci): add pre release workflow with goreleaser May 29, 2024
@elliotxx elliotxx changed the title chore(ci): add pre release workflow with goreleaser [WIP] chore(ci): add pre release workflow with goreleaser May 29, 2024
@panshuai-ps panshuai-ps force-pushed the unstable-go-release branch 4 times, most recently from b0e4a29 to 763a674 Compare May 30, 2024 06:23
@panshuai-ps panshuai-ps changed the title [WIP] chore(ci): add pre release workflow with goreleaser chore(ci): add pre release workflow with goreleaser May 30, 2024
@panshuai-ps panshuai-ps self-assigned this May 30, 2024
@panshuai-ps panshuai-ps force-pushed the unstable-go-release branch 7 times, most recently from c85acbd to a0203c8 Compare May 30, 2024 08:52
@elliotxx elliotxx changed the title chore(ci): add pre release workflow with goreleaser chore(ci): different tags trigger different release pipelines May 30, 2024
Copy link
Collaborator

@elliotxx elliotxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@elliotxx elliotxx merged commit a11bd72 into main May 30, 2024
13 checks passed
@elliotxx elliotxx deleted the unstable-go-release branch May 30, 2024 11:41
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants