⚠️ tbDEX SWIFT SDK IS CURRENTLY A WIP!⚠️
After cloning this repository, run:
make bootstrap
This will configure the repository's submodules properly, and ensure you're all set to go!
With Swift Package Manager, pre-releases are not necessary as it can directly utilize the repository's revision or branch name. For instance, to test the current version of the tbDEX package, you can specify either:
// Use the main branch
.package(url: "https://github.com/TBD54566975/tbdex-swift.git", .branch("main")),
// Use a specific commit
.package(url: "https://github.com/TBD54566975/tbdex-swift.git", .revision("28b3c865742f3b0cb9813f84e9c547425a06ac1d")),
To release a new version, initiate the Release
workflow:
-
Select the version type:
major
,minor
,patch
, ormanual
.- For instance, if the latest version is
0.1.2
:major
will update to1.0.0
minor
will update to0.2.0
patch
will update to0.1.3
- For
manual
, input the desired version in the Custom Version field, e.g.,0.9.0
- For instance, if the latest version is
-
The workflow will automatically create a git tag and a GitHub release, including an automated changelog.
API reference documentation is automatically updated and available at https://swiftpackageindex.com/TBD54566975/tbdex-swift/{latest-version}/documentation/tbdex following each release.