Skip to content

ci: add release stage with GitLab CLI - #19

Closed
surrealwolf wants to merge 1 commit into
mainfrom
ci/add-release-stage
Closed

surrealwolf wants to merge 1 commit into
mainfrom
ci/add-release-stage

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

Adds release stage to GitLab CI configuration:

  • Release stage runs on main branch and creates tags automatically (v0.$CI_PIPELINE_IID)
  • Publish stage runs on any git tag
  • Deploy stage runs on semantic version tags only
  • Uses registry.gitlab.com/gitlab-org/cli:latest for release job (includes glab CLI)

Follows GitLab release CI/CD examples pattern:
https://docs.gitlab.com/user/project/releases/release_cicd_examples/#create-a-release-when-a-commit-is-merged-to-the-default-branch

- Add release stage that runs on main branch
- Release creates tags automatically (v0.$CI_PIPELINE_IID)
- Publish stage runs on any git tag
- Deploy stage runs on semantic version tags only
- Uses registry.gitlab.com/gitlab-org/cli:latest for release job
@surrealwolf
surrealwolf deleted the ci/add-release-stage branch January 11, 2026 19:05
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.

1 participant