Skip to content

[Task] Add a dev tag to main development branch after release branch created #961

Open
@oliverholworthy

Description

@oliverholworthy

Background

Since we adopted release branches last year where we create our tags corresponding to each release on the commits of the release branch. The version that each of our packages reports on the main (development) branch reports the last tag that appeared in the history of this branch (which could be old, and is likely to not be the last release.). We're using versioneer to manage the version which does this based on the tags it can find. Adding a tag to the main branch corresponding to the start of development of the upcoming release enables us to continue using versioneer and the release branches.

An alterntaive option we considered is merging the release branch back into main, which would achieve a similar result in principle, however in practice if the development branch diverges, we'll end up with merge conflicts and changes that we don't want to merge back in to the development branch.

Description

Release n+1 will be tagged with vYY.MM.dev0 This will be applied to the commit on the main branch where the release branch was created from.

image

Tasks

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions