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

when releasing via CI/CD, create tag and upload DEB and RPM to Release if not dry-run #247

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

yonch
Copy link
Contributor

@yonch yonch commented Dec 1, 2023

Description:
Automates publishing of deb and rpm packages as part of a GitHub Release.

This adds a git tag on the released commit, and uploads debs and rpms. Container publishing remains the same (it goes to the container repo, not GitHub).

When a release is not public (a.k.a "unofficial"), the GitHub prerelease property is set on the tag.

On dry-run, a tag is not created.

This also:

  • set the default branch to release to main
  • add step that prints out information about the version and the action
  • pulls the version computation into its own step

Link to tracking Issue:
Closes #245 .

Testing:
Ran the action on dev account for the non dry-run case. Published to dev repository.

This also:
* set the default branch to release to `main`
* add step that prints out information about the version and the action
* pulls the version computation into its own step
@yonch yonch requested a review from bjandras December 1, 2023 19:32
@yonch yonch merged commit 035b4b5 into open-telemetry:main Dec 1, 2023
9 of 11 checks passed
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.

Automatically publish deb and rpm images in build-and-release GitHub Action
2 participants