brainiac-fizzy 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7db11f41fae35db895516e80e9de7e4c8c058523bd8bcc11b5b6a64b00462c41
4
- data.tar.gz: 8cff0f7ca421e7ca5a20344a83f0f89a0a6cce4102f2daa5cc5d4fc5c2f1a2ac
3
+ metadata.gz: 73e0fdc588f36dbb58a5b2bd1d0bbf09ccd7809f15bb617f724bbb475a133509
4
+ data.tar.gz: 4850ccddc2c85919f647c8366abd7eb02def7a5a6af8c4e27d197a96ba49a1a3
5
5
  SHA512:
6
- metadata.gz: 66bb5070c162be023a3ed046e9748f4fdf1197841aeb47a07c8b660e3759a48aa01773b587edb68bd762f6ab863280c44578f3ba1cc4c654e4fc9ce74946ccac
7
- data.tar.gz: 9232d4131f5298d4a3e9190c39c360e0a02296ad05b40dacf12be5b64599517af001b94c56bbd9b032fcfafc89b004e6800f6a2a6372868e20e8dc74da5cd996
6
+ metadata.gz: adf01018ab21bf8cfe45ce46f07a78ec0555d087b8dc52c723e8aaa45e8645d8d6af0e4a2f1361aba29ba67e5461f0c082702e555eb5aabc7989c8b6fa6a8ec2
7
+ data.tar.gz: df58a01aabc1ea99c0957c122db69fe4f9daf46647a300da2e20f62724bab31df156da360508162b11a80229e444da05ec188173dd2af175a6f3248754222359
@@ -214,8 +214,16 @@ module Brainiac
214
214
  uat_col = Config.board_column_id(board_key, "uat")
215
215
  next [] unless uat_col
216
216
 
217
+ # The fizzy CLI's --column filter only works when scoped to a board.
218
+ # Without --board, `fizzy card list --column <id>` returns zero cards
219
+ # even when the column is populated, so the deploy would silently close
220
+ # nothing. Always pass the board ID alongside the column.
221
+ board_id = Config.board_config(board_key)&.dig("board_id")
222
+ next [] unless board_id
223
+
217
224
  env = Helpers.default_fizzy_env
218
- output = run_cmd("fizzy", "card", "list", "--column", uat_col, "--all",
225
+ output = run_cmd("fizzy", "card", "list", "--board", board_id,
226
+ "--column", uat_col, "--all",
219
227
  chdir: repo_path, env: env)
220
228
  card_list = JSON.parse(output)["data"] || []
221
229
  next [] if card_list.empty?
@@ -3,7 +3,7 @@
3
3
  module Brainiac
4
4
  module Plugins
5
5
  module Fizzy
6
- VERSION = "0.0.32"
6
+ VERSION = "0.0.33"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brainiac-fizzy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Davis