rdagumampan / yuniql

Free and open source schema versioning and database migration made natively with .NET/6. NEW THIS MAY 2022! v1.3.15 released!
https://yuniql.io
Apache License 2.0
417 stars 63 forks source link

Fixed exit code for version and help commands #292

Open Konversys opened 1 year ago

Konversys commented 1 year ago

I have got a gitlab-ci.yaml

deploy:
  state: deploy
  script:
  - echo "deploy"
  - yuniql version

The result of this job is:

$ yuniql version
yuniql 1.3.15
ERROR: Job failed: exit status 1
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information