Skip to content

Commit 65b07d6

Browse files
authored
Merge pull request #280 from okta/release_2_11_0
Release 2.11.0
2 parents 2b920d7 + 5ef3c3a commit 65b07d6

20 files changed

Lines changed: 557 additions & 6 deletions

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This GitHub action can publish assets for release when a tag is created.
2+
# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
3+
#
4+
# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
5+
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
6+
# secret. If you would rather own your own GPG handling, please fork this action
7+
# or use an alternative one for key handling.
8+
#
9+
# You will need to pass the `--batch` flag to `gpg` in your signing step
10+
# in `goreleaser` to indicate this is being used in a non-interactive mode.
11+
#
12+
name: release
13+
on:
14+
push:
15+
branches: [ master ]
16+
tags:
17+
- 'v*'
18+
jobs:
19+
goreleaser:
20+
runs-on: ubuntu-latest
21+
steps:
22+
-
23+
name: Checkout
24+
uses: actions/checkout@v2.4.0
25+
-
26+
name: Unshallow
27+
run: git fetch --prune --unshallow
28+
-
29+
name: Set up Go
30+
uses: actions/setup-go@v2
31+
with:
32+
go-version: 1.17
33+
-
34+
name: Run GoReleaser
35+
uses: goreleaser/goreleaser-action@v2.8.1
36+
with:
37+
version: latest
38+
args: release --rm-dist
39+
env:
40+
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
41+
# GitHub sets this automatically
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+

.goreleaser.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
builds:
2+
-
3+
skip: true
4+
release:
5+
github:
6+
owner: okta
7+
name: okta-sdk-golang
8+
draft: true
9+
changelog:
10+
skip: true

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Changelog
22
Running changelog of releases since `2.0.0-rc.4`
33

4+
## v2.11.0
5+
6+
### Updates
7+
8+
- New models
9+
- `EmailTemplate`
10+
- `EmailTemplateContent`
11+
- `EmailTemplateCustomization`
12+
- `EmailTemplateCustomizationRequest`
13+
- `EmailTemplateResource`
14+
- `EmailTemplateTestRequest`
15+
- `EmailTemplateTouchPointVariant`
16+
- `IdpPolicyRuleAction`
17+
- `IdpPolicyRuleActionProvider`
18+
419
## v2.10.1
520

621
### Updates

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ test\:all:
6363

6464
test\:integration:
6565
@echo "$(COLOR_OKTA)Running integration tests...$(COLOR_NONE)"
66-
go test -race ./tests/integration -test.v
66+
go test -failfast -race ./tests/integration -test.v
6767

6868
test\:unit:
6969
@echo "$(COLOR_OK)Running unit tests...$(COLOR_NONE)"
70-
go test -race ./tests/unit -test.v
70+
go test -failfast -race ./tests/unit -test.v
7171

7272
.PHONY: fmt
7373
fmt: check-fmt # Format the code

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ SDK.
6161
To install the Okta Golang SDK in your project:
6262
- Create a module file by running `go mod init`
6363
- You can skip this step if you already use `go mod`
64-
- Run `go install github.com/okta/okta-sdk-golang/v2@latest`. This will add
64+
- Run `go get github.com/okta/okta-sdk-golang/v2@latest`. This will add
6565
the SDK to your `go.mod` file.
6666
- Import the package in your project with `import
6767
"github.com/okta/okta-sdk-golang/v2/okta"`
@@ -73,7 +73,7 @@ it. Version 1.x is *retiring* and will not be supported past March 4, 2021. It
7373
will likely remain working after that date, but you should make a plan to
7474
migrate to the new 2.x version.
7575

76-
You can install v1 of the SDK by running `go install
76+
You can install v1 of the SDK by running `go get
7777
github.com/okta/okta-sdk-golang@latest` and import the package in your project
7878
with `import "github.com/okta/okta-sdk-golang"`
7979

okta/accessPolicyRuleActions.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

okta/brand.go

Lines changed: 253 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)