Search⌘ K
AI Features

Customizing Versioning Logic

Explore how to customize versioning logic in Jenkins X by adding prefixes and suffixes to semantic versions. Understand Kubernetes release versions and learn strategies for adapting Jenkins X versioning to suit your CI/CD pipelines. Discover how to modify your Makefile or pipeline for dynamic version generation and consider alternative versioning schemes to fit your development needs.

Sometimes we do want to use semantic versioning, but we want to add additional information. We usually do that by adding prefixes or suffixes to the three versions (major, minor, and patch). As a matter of fact, we are already doing that. So far, our pipelines use “pure” semantic versioning, except for GitHub releases. As a refresher, the step that creates release notes is jx step changelog --version v\$(cat ../../VERSION). You can see that v is added as a prefix to the version.

Kubernetes release versioning

If we look ...