Skip to content

Commit 0f82029

Browse files
Merge pull request #480 from okta/prep-release
prep release v5.0.0
2 parents 4511c33 + ff2760a commit 0f82029

File tree

6 files changed

+17
-34
lines changed

6 files changed

+17
-34
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- platform-orb/step-load-dependencies
3030
- run:
3131
name: "test stage"
32-
command: make v4-test
32+
command: make test
3333

3434
# Invoke jobs via workflows
3535
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows

.generator/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
generatorName: go
22
templateDir: ./.generator/templates
3-
outputDir: ./okta/v4
3+
outputDir: ./okta/v5
44
gitUserId: okta
55
gitRepoId: okta-sdk-golang
6-
versionName: v4
6+
versionName: v5
77
additionalProperties:
88
enumClassPrefix: true
99
generateInterfaces: true

.github/workflows/prepareReleaseBranch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
- name: Set openapi generator version
4040
run: openapi-generator-cli version-manager set 7.0.1
4141
- name: Generate go client
42-
run: make v4-generate
42+
run: make generate
4343
- run: make fmt
4444
- run: make import
45-
- run: cd okta/v4 && mv go.mod go.sum ../../
46-
- run: cd okta && mv v4/* ./ && rm -rf v4
45+
- run: cd okta/v5 && mv go.mod go.sum ../../
46+
- run: cd okta && mv v5/* ./ && rm -rf v5
4747
- name: Commit generated code
4848
uses: EndBug/add-and-commit@v9
4949
with:

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Changelog
22
Running changelog of releases since `2.0.0-rc.4`
33

4-
## v4.1.0
4+
## v5.0.0
5+
- Update newest spec (#463) Thanks [@duytiennguyen-okta]
6+
7+
## v4.1.2
8+
- Fix panic issue when using access token is empty (#466) Thanks [@duytiennguyen-okta]
9+
- Fix object that does not have additional properties (#466) Thanks [@duytiennguyen-okta]
10+
11+
## v4.1.1
512
- Fix panic issue when using bearer token (#463) Thanks [@duytiennguyen-okta]
613
- Fix object that does not have additional properties (#463) Thanks [@duytiennguyen-okta]
714

Makefile

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,6 @@ ifneq ($(origin OPENAPI_SPEC_BRANCH),undefined)
5252
rm -fr spec-raw
5353
endif
5454

55-
test:
56-
make test:all
57-
58-
test\:all:
59-
@echo "$(COLOR_OKTA)Running all tests...$(COLOR_NONE)"
60-
@make test:unit
61-
@make test:integration
62-
63-
test\:integration:
64-
@echo "$(COLOR_OKTA)Running integration tests...$(COLOR_NONE)"
65-
go test -failfast -race ./tests/integration -test.v
66-
67-
test\:unit:
68-
@echo "$(COLOR_OK)Running unit tests...$(COLOR_NONE)"
69-
go test -failfast -race ./tests/unit ./okta/query -test.v
70-
71-
test\:integration\:all:
72-
@echo "$(COLOR_OKTA)Running integration tests...$(COLOR_NONE)"
73-
go test -race ./tests/integration -test.v
74-
75-
test\:unit\:all:
76-
@echo "$(COLOR_OK)Running unit tests...$(COLOR_NONE)"
77-
go test -race ./tests/unit ./okta/query -test.v
78-
7955
.PHONY: fmt
8056
fmt: check-fmt # Format the code
8157
@$(GOFMT) -l -w $$(find . -name '*.go' |grep -v vendor) > /dev/null
@@ -90,8 +66,8 @@ import: check-goimports
9066
check-goimports:
9167
@which $(GOIMPORTS) > /dev/null || GO111MODULE=on go install golang.org/x/tools/cmd/goimports@latest
9268

93-
v4-test:
69+
test:
9470
go test -failfast -race ./okta -test.v
9571

96-
v4-generate:
72+
generate:
9773
npx @openapitools/openapi-generator-cli generate -c ./.generator/config.yaml -i .generator/okta-management-APIs-oasv3-noEnums-inheritance.yaml

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/okta/okta-sdk-golang/v4
1+
module github.com/okta/okta-sdk-golang/v5
22

33
go 1.20
44

0 commit comments

Comments
 (0)