Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Dynamically setting TeamCity version numbers based on the current branch

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Paul Stovell
Word Count
577
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Paul Stovell's blog post from November 2014 offers a guide on customizing build numbers in TeamCity for projects with multiple branches, using a branching workflow like GitFlow. He explains how to generate different build numbers for branches such as master, develop, release, and feature branches through the use of PowerShell scripts and TeamCity parameters. The post highlights the importance of dynamically setting build numbers using service messages and adjusting them based on the branch name, ensuring each build remains unique and traceable. This method allows for coherent integration with other tools like OctoPack, where the build number can be used to specify package versions, thereby maintaining consistency across deployment pipelines.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 1 1 1 1 -
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.