Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 89
    • Merge requests 89
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !467

Improved version string

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged href requested to merge href/pleroma:feature/improve-version into develop Nov 20, 2018
  • Overview 4
  • Commits 1
  • Pipelines 1
  • Changes 6

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, ….

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/improve-version