https://github.com/mongodb/kbson
Kotlin Multiplatform Bson Library
https://github.com/mongodb/kbson
Last synced: 8 months ago
JSON representation
Kotlin Multiplatform Bson Library
- Host: GitHub
- URL: https://github.com/mongodb/kbson
- Owner: mongodb
- License: apache-2.0
- Created: 2022-07-22T21:02:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T12:43:17.000Z (about 2 years ago)
- Last Synced: 2025-01-29T09:43:35.622Z (over 1 year ago)
- Language: Kotlin
- Size: 376 KB
- Stars: 19
- Watchers: 21
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KBSON
A [Kotlin Multiplatform](https://kotlinlang.org/docs/multiplatform.html) [BSON](https://bsonspec.org/) implementation.
## Build & Release process
**Note:** The following instructions are intended for internal use.
### To build the library:
```
$ git clone https://github.com/mongodb/kbson.git
$ cd kbson
$ ./gradlew clean check
```
**Note:** Requires a Mac to build all environments.
### Release process:
**Note:** Releases are automatically created from commits via [evergeen](https://evergreen.mongodb.com/waterfall/kbson).
Snapshot versions are published automatically by evergreen.
See: https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/kbson/
For an official release:
1. Update the version number in build.gradle.kts eg: `0.1.0`
2. Push to the main repo.
3. Tag eg: `r0.1.0` and push to the main repo
4. Evergreen will stage the release to [sonatype staging](oss.sonatype.org).
5. Check the staged release on sonatype and release.
6. Update the version number to be the next snapshot version eg: `0.2.0-SNAPSHOT`