Skip to content

Commit 7eb9702

Browse files
authored
Merge pull request #99 from onelogin/master
Master → Develop
2 parents 8f97b26 + 22e7e45 commit 7eb9702

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"makefile.configureOnOpen": false
3+
}

pkg/onelogin/version.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package onelogin
2+
3+
const Version = "1.2.0"

readme.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Onelogin Go SDK
32

43
This is the Onelogin SDK, a Go package that provides a convenient interface for interacting with Onelogin's API. The SDK simplifies the integration process by providing developers an easy-to-use tool for managing authentication, making API requests, and handling responses.
@@ -109,7 +108,23 @@ func main() {
109108
}
110109
fmt.Println("App List:", appList)
111110
}
112-
```
111+
112+
## Releasing
113+
114+
When releasing a new version of the SDK:
115+
116+
1. Update the version number in `pkg/onelogin/version.go` following semantic versioning:
117+
- MAJOR version for incompatible API changes
118+
- MINOR version for backwards-compatible functionality additions
119+
- PATCH version for backwards-compatible bug fixes
120+
121+
2. Commit the version change:
122+
```shell
123+
git add pkg/onelogin/version.go
124+
git commit -m "Bump version to x.y.z"
125+
git tag vx.y.z
126+
git push origin main --tags
127+
```
113128

114129
## Documentation
115130

0 commit comments

Comments
 (0)