Skip to content

Add Versioning#520

Merged
fabled merged 4 commits intomainfrom
auto-tag
Jun 18, 2025
Merged

Add Versioning#520
fabled merged 4 commits intomainfrom
auto-tag

Conversation

@florianl
Copy link
Copy Markdown
Member

@florianl florianl commented Jun 12, 2025

Add a policy around versioning of this project as well as a Github Action to do this task.

Fixes #513

This change brings us in compliance with open-telemetry/opentelemetry-collector-releases#976.

Add a policy around versioning of this project as well as a Github Action to do this task.

Fixes #513

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl requested review from a team as code owners June 12, 2025 07:24
Comment thread .github/workflows/auto-tag.yml Outdated
# Create an annotated tag on the latest commit of the current branch (main)
git tag -a $TAG_NAME -m "$TAG_NAME"
# Push the newly created tag to the remote repository
git push origin $TAG_NAME
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this also create GH releases? (if we do, we could also use the GitHub API to retrieve the last release number and increment that rather than use week numbers?)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm not a fan of GH releases. They don't fit well with git and add some complexity. As the project does not provide artifacts in any way or release notes, I don't see the benefits of GH releases.

Once the project becomes more stable, the use of GH releases should be reconsidered. But for the current development phase, it might be too much overhead.

florianl and others added 2 commits June 12, 2025 09:31
Co-authored-by: Damien Mathieu <42@dmathieu.com>
I started with weekly auto tagging but figured out that this cadence might be too high. So went down to a monthly schedule.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Comment thread .github/workflows/auto-tag.yml Outdated
@dmathieu
Copy link
Copy Markdown
Member

One thing I've been thinking, maybe as a next step, is that we probably should run the tests before triggering the release, so we don't release if CI isn't green.

Comment thread .github/workflows/auto-tag.yml Outdated
Co-authored-by: Timo Teräs <timo.teras@iki.fi>
Comment thread .github/workflows/auto-tag.yml
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.

Create a release schedule to tag for each distribution release

6 participants