Skip to content

Commit

Permalink
Add auto archive latest release option: --archive_latest_release
Browse files Browse the repository at this point in the history
  • Loading branch information
Massad committed May 12, 2022
1 parent 6602496 commit 0297529
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You can use `vim` if installed `vim $HOME/.ta-cli.json`
"release_notes": "",
"git_release_notes": true,
"git_commit_id": false,
"archive_latest_release": false,
"notify": true
}
```
Expand All @@ -60,18 +61,19 @@ Navigate to [latest releases](https://github.com/testappio/cli/releases) and dow
ta-cli config
```

| Key | Description | Default |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------ |
| --config | path to your ta-cli.json config file [Optional] | $HOME/.ta-cli.json |
| --api_token | You can get it from https://portal.testapp.io/settings/api-credentials | |
| --app_id | You can get it from your app page at [https://portal.testapp.io/apps](https://portal.testapp.io/apps?action=select-for-integrations) | |
| --release | It can be either both or Android or iOS | |
| --apk_file | Path to the Android APK file | |
| --ipa_file | Path to the iOS IPA file | |
| --release_notes | Manually add the release notes to be displayed for the testers | |
| --git_release_notes | Collect release notes from the latest git commit message to be displayed for the testers: true or false | true |
| --git_commit_id | Include the last commit ID in the release notes (works with both release notes options): true or false | false |
| --notify | Send notifications to your team members about this release: true or false | false |
| Key | Description | Default |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------ |
| --config | path to your ta-cli.json config file [Optional] | $HOME/.ta-cli.json |
| --api_token | You can get it from https://portal.testapp.io/settings/api-credentials | |
| --app_id | You can get it from your app page at [https://portal.testapp.io/apps](https://portal.testapp.io/apps?action=select-for-integrations) | |
| --release | It can be either both or Android or iOS | |
| --apk_file | Path to the Android APK file | |
| --ipa_file | Path to the iOS IPA file | |
| --release_notes | Manually add the release notes to be displayed for the testers | |
| --git_release_notes | Collect release notes from the latest git commit message to be displayed for the testers | false |
| --git_commit_id | Include the last commit ID in the release notes (works with both release notes options) | false |
| --notify | Send notifications to your team members about this release | false |
| --archive_latest_release | Automatically archive the current latest release upon successful upload | false |

The default configuration file will be at `$HOME/.ta-cli.json`

Expand Down
1 change: 1 addition & 0 deletions linux/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"release_notes": "",
"git_release_notes": true,
"git_commit_id": false,
"archive_latest_release": false,
"notify": true
}
1 change: 1 addition & 0 deletions macos/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"ipa": "/path/to/ios/app.ipa",
"git_release_notes": true,
"git_commit_id": false,
"archive_latest_release": false,
"notify": true
}
1 change: 1 addition & 0 deletions windows/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"ipa": "/path/to/ios/app.ipa",
"git_release_notes": true,
"git_commit_id": false,
"archive_latest_release": false,
"notify": true
}

0 comments on commit 0297529

Please sign in to comment.