feat(skill): support manual package release for Casbin adapter repos - #3
Closed
BeiBaiNian wants to merge 4 commits into
Closed
feat(skill): support manual package release for Casbin adapter repos#3BeiBaiNian wants to merge 4 commits into
BeiBaiNian wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Related: apache/casbin#1747
As requested in apache/casbin#1747,
Casbin adapter repositories have removed semantic-release and stopped
auto-publishing to package registries. This PR extends the
incubator-release-assistantskill so a code agent can guide the manualversion release for those repositories (crates.io / Maven Central) using
prompts, without changing the Go engine or the config schema.
Changes:
skills/incubator-release-assistant/SKILL.md:## Publish adapter packages manuallysection with a six-stepworkflow: read the reference, verify tag/version/CI readiness, wait for
explicit user authorization, publish with credentials from environment
variables or external secret storage, verify the registry, and never
guess versions or re-run a succeeded publish;
publishing is irreversible and always requires human authorization, and
version numbers/tags are never auto-created.
skills/incubator-release-assistant/references/manual-package-release.md(new): documents the supported repositories (
casbin-sqlx-adapter→cargo publishto crates.io,casbin-jcasbin-jdbc-adapter→mvn deployto Maven Central), pre-flight checks, PowerShell/Bash commands, verification
URLs, failure/rollback guidance (
cargo yank), and the agent responseformat.
No Go code, config schema, or existing RC workflow is changed.
Verification
references/prerequisites.mdandreferences/configuration.md;sections (
## Prepare in the untrusted-code domain,## Sign in the trusted domain, etc.);git diff --checkpasses;stage / verify-public) is untouched.