Skip to content

How to use gitversion with .NET, ant, maven and jenkins

License

Notifications You must be signed in to change notification settings

jowave/hello.gitversion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello GitVersion

Examples on how to get semantic versioning automated using GitVersion not only with .NET but also with Ant, Maven & Jenkins

How to use

Clone this repo

git clone https://github.com/mkoertgen/hello.gitversion.git

Then start playing around with GitFlow, e.g. using Atlassian SourceTree.

For instance,

  • switch branches,
  • create a feature,
  • do a release or a hotfix

Then check how versioning is affected, using

gitversion

For GitHubFlow try the same using feature branches and pull requests

Docker

export GITVERSION_SEMVER=$(docker-compose run gitversion | tr -dc '[[:print:]]')
docker-compose build maven

About

How to use gitversion with .NET, ant, maven and jenkins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 60.0%
  • Dockerfile 21.6%
  • Batchfile 18.4%