Skip to content

Commit 64fd6bb

Browse files
committed
fix: Tweak release-plz config to handle dirty files.
bindings/ruby/bin/console and bindings/ruby/bin/setup show up as dirty to release-plz and causes it to fail to update. As a workaround, set allow_dirty to true to enable update. However ensure that no dirty files are published by setting publish_allow_dirty to false. Also default to not publishing any packages except regorus. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
1 parent 8b8cfed commit 64fd6bb

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ bindings/*/target
2727

2828
# C# build folders
2929
**bin
30-
**obj
30+
**obj

release-plz.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ git_tag_enable = false
44
changelog_update = false
55
dependencies_update = false
66
publish = false
7+
# These files show up as modified (dirty) to release-plz
8+
# bindings/ruby/bin/console
9+
# bindings/ruby/bin/setup
10+
# Allow release-plz to update.
711
allow_dirty = true
12+
# But don't allow releaze-plz to publish dirty.
13+
publish_allow_dirty = false
14+
815

916
[[package]]
1017
name = "regorus"

0 commit comments

Comments
 (0)