Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of GitVersion to detect version #28

Open
mkevenaar opened this issue Sep 6, 2020 · 1 comment
Open

Make use of GitVersion to detect version #28

mkevenaar opened this issue Sep 6, 2020 · 1 comment
Labels
build Changes to the build process
Milestone

Comments

@mkevenaar
Copy link
Member

No description provided.

@mkevenaar mkevenaar added the build Changes to the build process label Sep 6, 2020
@mkevenaar mkevenaar added this to the 0.1.0 milestone Sep 6, 2020
@AdmiringWorm
Copy link
Member

If you plan to use GitVersion, I would recommend installing and using it through a tool-manifest file.

This can be easily set up running the following commands:

dotnet new tool-manifest
dotnet tool install GitVersion.Tool

Then commit the file .config/dotnet-tools.json to the repository.

When the tool is meant to be used,
you could then call

dotnet tool restore # Will restore all tools mentioned in the tool manifest
dotnet gitversion

The same thing could then be used with GitReleaseManager (#29) as well.

NOTE: Do not work with cake, if it is planned to use that

mkevenaar added a commit to mkevenaar/chocolatey-diff that referenced this issue Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes to the build process
Projects
None yet
Development

No branches or pull requests

2 participants