Skip to content

Create new Github workflow to build a release when a tag is pushed #702

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

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

fholger
Copy link
Collaborator

@fholger fholger commented Jun 21, 2023

Whenever a versioned tag (vX.Y.Z) is pushed, this workflow will build the python wheel, create a new GitHub release for the pushed tag and attach the build output to the release.
This is a first step towards automating our release process. In the future, we may want to directly upload the release to PyPI.

Sample run: https://github.com/fholger/tools-python/actions/runs/5332473607/jobs/9661695249
Sample created release: https://github.com/fholger/tools-python/releases/tag/v0.8.1a4

Signed-off-by: Holger Frydrych <holger.frydrych@tngtech.com>
@fholger fholger force-pushed the release_workflow branch from 8c12075 to 409a187 Compare June 21, 2023 09:45
maxhbr
maxhbr previously approved these changes Jun 21, 2023
Copy link
Member

@maxhbr maxhbr left a comment

Choose a reason for hiding this comment

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

Just a copyright header is missing. Looks good to me

Signed-off-by: Holger Frydrych <holger.frydrych@tngtech.com>
Copy link
Member

@maxhbr maxhbr left a comment

Choose a reason for hiding this comment

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

LGTM

@armintaenzertng armintaenzertng merged commit e27cef9 into spdx:main Jun 21, 2023
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.

3 participants