wellsite-navigator/Version Generator
Generates version files based on git information
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dir | Directory to use for command execution and output file path | no | . |
| outputFilePath | Output file path (relative to dir if not absolute) where the version file should be written | no | — |
| format | Output format (string or json) | no | string |
| android | Enable Android version code generation | no | false |
| android-package | Android package name | no | — |
| android-service-account-key | Service account key JSON for Google Play API authentication | no | — |
| android-track | Track to check for version codes | no | — |
| android-major-increment | Increment to add to version code on major version change (default: 10) | no | 10 |
| ios | Enable iOS build number generation | no | false |
| ios-bundle-id | iOS bundle ID | no | — |
| ios-api-key-id | App Store Connect API Key ID | no | — |
| ios-api-issuer-id | App Store Connect API Issuer ID | no | — |
| ios-api-private-key | App Store Connect API Private Key (can be base64-encoded) | no | — |
Outputs
| name | description |
|---|---|
| version | The generated version string |
| major | The major version number |
| minor | The minor version number |
| patch | The patch version number (commit count since the last tag) |
| branchName | The current branch name |
| commitHash | The current commit hash |
| appReleaseVersion | The app release version (only major.minor.patch) for mobile app versioning |
| androidVersionCode | The Android version code (if Android version code generation is enabled) |
| iosBuildNumber | The iOS build number (if iOS build number generation is enabled) |
| iosBuildNumberString | The iOS build number in string format (if iOS build number generation is enabled) |