Skip to content

Improved version string

href requested to merge href/pleroma:feature/improve-version into develop

This changes the version string to be approximately semver-compatible and a bit more descriptive:

  • The MAJOR.MINOR.PATCH will always be defined in mix.exs,
  • If git is present and we're ahead of the latest git tag, -<commits_ahead_count>-<commit_short_hash> will be used as a pre-release
  • If PLEROMA_BUILD_NAME or :pleroma, :build_name is defined, this will be used as a build
  • If the Mix environment differs from prod, it will be appended to the build

The build can be used to indicate a fork, a version of a CI build, ….

Merge request reports