Skip to content

Commit

Permalink
Release Version 2.10.0 (#23)
Browse files Browse the repository at this point in the history
Co-authored-by: stonezdj <[email protected]>
  • Loading branch information
github-actions[bot] and stonezdj authored Jan 25, 2024
1 parent a0db816 commit 8a430bb
Show file tree
Hide file tree
Showing 70 changed files with 3,200 additions and 93 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SWAGGER_VERSION=v0.30.3
SWAGGER := $(DOCKERCMD) run --rm -t -u "$(shell id -u):$(shell id -g)" -v $(shell pwd):/src -w /src quay.io/goswagger/swagger:$(SWAGGER_VERSION)

ifeq ($(VERSION),)
VERSION := v2.8.2
VERSION := v2.10.0
endif

HARBOR_2.0_SPEC=api/v2.0/swagger.yaml
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Client library with golang for accessing Harbor API.

## Download swagger spec by version

Currently, the default Harbor version is `v2.8.2`.
Currently, the default Harbor version is `v2.10.0`.

*NOTE* Default version need to be updated manually inside [Makefile](Makefile)

Expand All @@ -16,13 +16,13 @@ make update-spec
To download swagger spec from previous Harbor version, add `VERSION` as an argument:

```sh
make update-spec VERSION=v2.8.2
make update-spec VERSION=v2.10.0
```

## Generate Clients

```sh
make gen-harbor-api VERSION=v2.8.2
make gen-harbor-api VERSION=v2.10.0
```

## Check all available make commands
Expand Down
Loading

0 comments on commit 8a430bb

Please sign in to comment.