This repository was archived by the owner on May 26, 2025. It is now read-only.
feat: npm and pypi publish workflows #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces two GitHub Actions for automated package publishing:
Both workflows can be triggered either by pushing a Git tag or manually via the GitHub interface. The version for publishing must adhere to one of the following formats:
vX.Y
,vX.Y.Z
,vX.Y.ZaN
,vX.Y.ZbN
,vX.Y.ZrcN
. When triggered manually, the version input should follow the same format. Packages are published withoutv
prefix.Additional Things to Discuss:
packages/python/pyproject.toml
currently uses placeholders and should probably be updated to reflect the Daytona organization ({ name = "dummy", email = "[email protected]" }
). Let me know what to write there.Key Updates:
package.json
andpyproject.toml
are set to0.0.0
and managed dynamically during the publishing process.latest
for stable releases (e.g.,v1.0.0
)alpha
,beta
,release-candidate
for pre-releases (e.g.,v1.0.0a1
,v1.0.0b1
,v1.0.0rc1
)Post-Merge Actions:
Permissions Setup:
Authentication Setup:
NPM_TOKEN
is securely stored in GitHub Secrets.