Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Release process update #138

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Conversation

yoannmoinet
Copy link
Member

@yoannmoinet yoannmoinet commented Feb 18, 2025

What and why?

Having a way to manually bump the versions without checking out master would be great.

How?

  • Add a new bump action.
    1. run yarn version:all <patch|minor|major> based on the input of the workflow dispatch.
    2. commit the diff in v<new_version>.
    3. tag the commit with v<new_version>.

Successful run.

- run: TAG_NAME="v$VERSION"
- run: git commit -m $TAG_NAME
- run: git tag -a $TAG_NAME -m $TAG_NAME
- run: git push --follow-tags
Copy link
Member Author

Choose a reason for hiding this comment

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

I think this might not work without a proper token.
But I need to merge this first in order to be able to actually debug it.

Copy link
Member

Choose a reason for hiding this comment

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

But I need to merge this first in order to be able to actually debug it.

FWIW it is possible to trigger a workflow dispatch from a branch using the gh tool (gh workflow run workflow-name --ref branch-name)

Copy link
Member Author

Choose a reason for hiding this comment

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

😞

╰─❯ gh workflow run bump.yaml --ref origin/yoann/release-process-update -f version=patch

HTTP 404: Not Found (https://api.github.com/repos/DataDog/build-plugins/actions/workflows/bump.yaml)

@yoannmoinet yoannmoinet marked this pull request as ready for review February 18, 2025 10:50
@yoannmoinet yoannmoinet requested review from Ayc0 and elbywan February 18, 2025 10:50
@yoannmoinet yoannmoinet force-pushed the yoann/release-process-update branch 4 times, most recently from 8fbbf20 to c7b2311 Compare February 19, 2025 17:42
@yoannmoinet yoannmoinet force-pushed the yoann/release-process-update branch from c7b2311 to e09fb11 Compare February 19, 2025 17:46
@yoannmoinet yoannmoinet merged commit 69a9000 into master Feb 20, 2025
4 checks passed
@yoannmoinet yoannmoinet deleted the yoann/release-process-update branch February 20, 2025 10:18
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.

2 participants