Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 804 Bytes

Versioning.md

File metadata and controls

49 lines (33 loc) · 804 Bytes

Plugin versioning

Versioning is managed via git tags. Then a new version tag is pushed to the repository, GoReleases pipeline automatically builds and publishes plugin to GitHub packages.

Set version

git tag v2.1.0

Push tag

git push --tags

Delete tag

git tag -d v2.1.0-test
git push --delete origin v2.1.0-test

Publish

Make sure you logged in to CloudQuery Hub and switched to the right team:

cloudquery login
cloudquery switch koltyakov

Package the plugin:

rm -rf ./dist && go run main.go package --docs-dir docs -m @CHANGELOG.md $(git describe --tags --abbrev=0) .

Publish the plugin (draft):

cloudquery plugin publish

Publish the plugin (release):

cloudquery plugin publish --finalize