fix(release): Fix release-plz dirty-tree errors from Ruby binstubs (#547)

Ruby binstubs were checked in, but ignore via .gitignore **bin pattern.
This causes release-plz to think that the source tree is dirty.

The binstubs are deleted from source repo since they are always regenerated by bundler.
Also simplizy release-plz to focus only on the core crate.

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2026-01-24 07:09:25 +05:30
committed by GitHub
parent fd59bb5a91
commit 2b1434b3ac
4 changed files with 3 additions and 30 deletions

View File

@@ -5,20 +5,9 @@ changelog_update = false
dependencies_update = false
publish = false
# These files show up as modified (dirty) to release-plz:
# bindings/ruby/bin/console
# bindings/ruby/bin/setup
# As a result, release-plz fails during update.
# As a workaround, allow dirty workding directory.
allow_dirty = true
# But don't allow release-plz to publish dirty packages.
publish_allow_dirty = false
[[package]]
name = "regorus"
git_tag_enable = true
git_release_enable = true
changelog_update = true
publish = true
command = "cargo xtask bindings --base-ref origin/main"