Cap-go / CLI

CLI to help you to manage your version in capgo cloud
https://capgo.app
GNU Affero General Public License v3.0
15 stars 35 forks source link

Invalid JSON output #218

Closed khamaileon closed 7 months ago

khamaileon commented 8 months ago
npx @capgo/cli bundle zip --json

This command provides an incorrect json for each new version of capgo/cli. It may be useful locally, but not in a build process.

│
▲  🚨 You are using @capgo/cli@3.14.60 it's not the latest version.
│  Please use @capgo/cli@3.14.61" or @capgo/cli@latest to keep up to date with the latest features and bug fixes.
{"bundle":"1.16.0","filename":"app.example.1.16.0.zip","checksum":"803073f2"}
fxsalazar commented 8 months ago

199 was made to fix this

khamaileon commented 7 months ago

With each new version of capgo/cli, our build pipeline is broken. I see @fxsalazar has proposed a fix. What's the reason for this PR #199 to be closed?

riderx commented 7 months ago

Hello, Sorry i missed this issue, I checked #199, and I found it a bit complex, where I could just disable the check in the CI. I just committed a fix for it: https://github.com/Cap-go/CLI/commit/540363461a6d2410e8e3130d70a0b0def2186c9f

riderx commented 7 months ago

available in : 4.0.12

khamaileon commented 7 months ago

@riderx it doesn't work anymore on the last version 😓