Skip to main content

Publish SDKs

Konfig makes it easy to publish SDKs through our CLI.


_16
❯ konfig publish --help
_16
Publish SDKs
_16
_16
USAGE
_16
$ konfig publish -g <value> [-d] [-t]
_16
_16
FLAGS
_16
-d, --debug
_16
-g, --generator=<value> (required)
_16
-t, --test
_16
_16
DESCRIPTION
_16
Publish SDKs
_16
_16
EXAMPLES
_16
$ konfig publish

To publish SDKs simply cd into your SDK repository and provide the -g flag a comma separated list of generator names.

Use the -d flag to see what commands will be run to publish each SDK:


_10
❯ konfig publish -g go,python,java,typescript,csharp -d
_10
DEBUG: mvn clean deploy
_10
DEBUG: rm -rf dist/
_10
DEBUG: python3 -m build
_10
DEBUG: twine check dist/*
_10
DEBUG: twine upload dist/*
_10
DEBUG: npm publish
_10
DEBUG: dotnet pack
_10
DEBUG: dotnet nuget push src/Acme.Net/bin/Debug/Acme.Net.1.0.0.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json