Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Feb 7, 2022
1 parent 8e6509b commit 29cf170
Show file tree
Hide file tree
Showing 5 changed files with 362 additions and 284 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- The GitHub Action must specify `username`
- The CLI must specify `--username`
## [0.2.0] - 2022-02-07

### Added

- Basic Auth authentication has been added

### Changed

- The GitHub Action must specify `username`
- The CLI must specify `--username`
- The CLI shortopt `-u` is an alias for `--username` (and not `--url` as it was in previous versions)

### Removed

- Vercel authentication (password only) has been removed
Expand Down Expand Up @@ -111,7 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- First release

[unreleased]: https://github.com/smartbear/one-report-publisher/compare/v0.1.0...HEAD
[unreleased]: https://github.com/smartbear/one-report-publisher/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/smartbear/one-report-publisher/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/smartbear/one-report-publisher/compare/v0.0.14...v0.1.0
[0.0.14]: https://github.com/smartbear/one-report-publisher/compare/v0.0.13...v0.0.14
[0.0.13]: https://github.com/smartbear/one-report-publisher/compare/v0.0.12...v0.0.13
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ step failed.
```yml
- name: 'Publish to OneReport'
if: ${{ always() }}
uses: smartbear/one-report-publisher@v0.1.0
uses: smartbear/one-report-publisher@v0.2.0
with:
organization-id: F5222E06-BA05-4C82-949A-2FE537B6F59F
username: anyone
password: ${{ secrets.ONE_REPORT_PASSWORD }}
reports: ./reports/**/*.{xml,json,ndjson,zip}
```
Expand All @@ -43,8 +44,9 @@ installed (for example [cimg/node](https://circleci.com/developer/images/image/c
- run:
name: Publish test results to OneReport
command: |
npx @smartbear/one-report-publisher@0.1.0 \
npx @smartbear/one-report-publisher@0.2.0 \
--organization-id F5222E06-BA05-4C82-949A-2FE537B6F59F \
--username anyone \
--password ${ONE_REPORT_PASSWORD} \
--reports ./reports/**/*.{xml,json,ndjson,zip}
```
Expand All @@ -54,23 +56,24 @@ installed (for example [cimg/node](https://circleci.com/developer/images/image/c
The command-line tool can be used in any CI pipeline that has the `npx` command available (it needs to have Node.js installed).

```
npx @smartbear/one-report-publisher@v0.1.0 --help
npx @smartbear/one-report-publisher@v0.2.0 --help

Usage: one-report-publisher [options]

Options:
-o, --organization-id <id> OneReport organization id
-u, --username <username> OneReport username
-p, --password <password> OneReport password
-r, --reports <glob...> Glob to the files to publish
-u, --url <url> OneReport URL (default: "https://one-report.vercel.app")
--url <url> OneReport URL (default: "https://one-report.vercel.app")
--no-zip Do not zip non .zip files
-h, --help display help for command
```
Example:
```
npx @smartbear/one-report-publisher@0.1.0 \
npx @smartbear/one-report-publisher@0.2.0 \
--organization-id F5222E06-BA05-4C82-949A-2FE537B6F59F \
--password ${ONE_REPORT_PASSWORD} \
--reports ./reports/**/*.{xml,json,ndjson,zip}
Expand Down
Loading

0 comments on commit 29cf170

Please sign in to comment.