Skip to content

Commit

Permalink
chore: re-gen openapi spec to update the version
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Aug 8, 2024
1 parent 4b62f87 commit 210f5b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ For `1.0.0` and beyond, this should work differently. Maybe even before. However
In a nutshell, the steps are:

* Ensure the cargo versions are aligned with the release tag that we create next
* Re-generate the OpenAPI spec, as it contains the version
* Tag the release
* Push the tag

Expand Down Expand Up @@ -71,6 +72,12 @@ If the result looks good, execute the changes using:
cargo release version alpha -x
```

Update the OpenAPI spec by regenerating it:

```bash
cargo xtask generate-schemas
```

Commit the changes to git:

```bash
Expand Down
2 changes: 1 addition & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
description: Software Supply-Chain Security API
license:
name: ''
version: 0.1.0-alpha.12
version: 0.1.0-alpha.13
paths:
/api/v1/advisory:
get:
Expand Down

0 comments on commit 210f5b4

Please sign in to comment.