rezmuh / drone-semver-plugin

Semver Plugin for Drone CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drone Semantic Versioning (SemVer) Plugin

Drone plugin that lets you increment a version as well as updating version file to external storage. Currently, only S3 external storage is supported.

Planned Support for External Storages:

  • Amazon S3
  • Google's GCS
  • HashiCorp's Vault

Use Case

For my Drone pipeline, I'd like to standardize version number between GitHub tags, Docker tags as well as Helm chart version. With this plugin, it will retrieve the version number from a version file in external storage. By default, it will save the version number in .tags (to make it compatible with Drone Docker Plugin)

Then this file (.tags) can be used as a source for versioning / tagging on other build steps

About

Semver Plugin for Drone CI

License:MIT License


Languages

Language:Go 96.9%Language:Dockerfile 3.1%