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/cd: add release automation #626

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

gretel
Copy link
Contributor

@gretel gretel commented Nov 30, 2024

While working on the openwrt packaging @markqvist asked me to test a change present in the github repository, but unreleased yet. Instead of manually handling .whl files i came up with a little pipeline revision.

Publishes a release when tagged with a semver version:

  • X.Y.Z for "production quality" (1.0.0)
  • X.Y.Z-suffix for development (1.0.0-alpha.1)
    • Releases will be marked as prerelease accordingly.

For now, any release will be marked draft. This means a human has to actually release.

Example: https://github.com/gretel/Reticulum/actions/runs/12100549391

@gretel gretel force-pushed the add-revised-workflow branch from 2cdfab1 to 08ebe6a Compare November 30, 2024 20:31
@gretel gretel marked this pull request as ready for review November 30, 2024 20:41
@gretel gretel force-pushed the add-revised-workflow branch from 08ebe6a to be3e678 Compare November 30, 2024 20:43
Publishes a release when tagged with a `semver` version:
- X.Y.Z for "production quality" (1.0.0)
- X.Y.Z-suffix for development (1.0.0-alpha.1)

Release will be marked as 'prerelease' accordingly.

For now, any release will be marked 'draft'.
@gretel gretel force-pushed the add-revised-workflow branch from be3e678 to c30feb3 Compare November 30, 2024 20:44
@gretel
Copy link
Contributor Author

gretel commented Nov 30, 2024

i've noticed a reference to twine in the workflow - uploading to pip can be added easily.

@markqvist markqvist merged commit 7e3979d into markqvist:master Dec 5, 2024
4 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.

2 participants