Semantic Version Manager written in Swift

I spent the last few days pulling together a Semantic Versioning tool in swift. There are three pieces to it.

  • SemanticVersionKit (library)
  • SemanticVersionPlugin (to use as part of your CI)
  • semantic-version-manager (a CLI to manage your semantic version)

It uses a version.json file to keep track of the version. You can bump, major, minor, patch version. You can also set pre-release and build information.

It also generates a Version.swift file to use in your command line tools.
I'll probably work on generating an info.plist next.

2 Likes