verity-cli 1.12.0
Install from the command line:
Learn more about npm packages
$ npm install @platacard/verity-cli@1.12.0
Install via package.json:
"@platacard/verity-cli": "1.12.0"
About this version
This library provides a command line interface for the Verity CI integration.
Before using the CLI, ensure the following environment variables are defined:
-
VERITY_URL
- The URL of the Verity API instance. -
VERITY_TOKEN
- Authentication token for the Verity API, obtainable from the Verity UI. -
VERITY_APP_ID
- ID of the application to interact with, obtainable from the Verity UI. -
VERITY_APP_VERSION
- Current version of the application to interact with.
verity version upsert
This command performs the following:
- Checks if the current version of the application is registered in Verity.
- If the application and version exist, it marks the version as built.
- If the version does not exist, it creates a new version and marks it as built.