-
Notifications
You must be signed in to change notification settings - Fork 0
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
WIP Git Versioning #13
Draft
jthelin
wants to merge
1
commit into
master
Choose a base branch
from
GitVersioning
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
jthelin
commented
May 23, 2016
•
edited
Loading
edited
- Use GitVersion tool to stamp version numbers into assemblies.
Travis CI build fails with error:
|
jthelin
force-pushed
the
GitVersioning
branch
from
September 2, 2016 20:23
1649f0b
to
d2c4b38
Compare
jthelin
force-pushed
the
GitVersioning
branch
from
October 25, 2017 17:36
d2c4b38
to
58468d0
Compare
Travis-CI build fails with:
|
jthelin
force-pushed
the
GitVersioning
branch
2 times, most recently
from
October 25, 2017 20:08
8688f47
to
e40e6c2
Compare
jthelin
force-pushed
the
GitVersioning
branch
2 times, most recently
from
November 3, 2017 08:52
aa6ffd8
to
99491fe
Compare
jthelin
force-pushed
the
GitVersioning
branch
from
September 22, 2018 21:34
616fbce
to
ec0be4c
Compare
jthelin
force-pushed
the
GitVersioning
branch
3 times, most recently
from
October 2, 2018 23:44
5fd6111
to
1d641ba
Compare
jthelin
force-pushed
the
GitVersioning
branch
5 times, most recently
from
November 12, 2018 05:20
0bf3f5d
to
74ce89d
Compare
jthelin
force-pushed
the
GitVersioning
branch
4 times, most recently
from
November 21, 2018 23:07
e8cfd87
to
aef0901
Compare
jthelin
force-pushed
the
GitVersioning
branch
from
December 4, 2018 17:55
1e96d50
to
ab208ec
Compare
Linux build still failing with error:
|
I suspect the real culprit here is that Not exactly sure why this works OK when building on Windows, though. |
- Use GitVersion to stamp version numbers into assemblies. https://github.com/GitTools/GitVersion Use GitVersioning variables to set NuGet package version properties. Use Mainline versioning policy in GitVersion v4.0+. - Bump next version to 1.2.x for easier reference. Only run `GitVersionTask` during Windows builds. Failure more on Linux: ``` 2018-12-04T18:02:22.6601166Z "/home/vsts/work/1/s/ServerHost.sln" (default target) (1) -> 2018-12-04T18:02:22.6601998Z "/home/vsts/work/1/s/ServerHost/ServerHost.csproj" (default target) (2) -> 2018-12-04T18:02:22.6602670Z (WriteVersionInfoToBuildLog target) -> 2018-12-04T18:02:22.6604817Z /home/vsts/.nuget/packages/gitversiontask/4.0.1-beta1-50/build/functionality/GitVersionBuild.targets(6,5): error MSB4175: The task factory "UtilPack.NuGet.MSBuild.NuGetTaskRunnerFactory" could not be loaded from the assembly "/home/vsts/.nuget/packages/utilpack.nuget.msbuild/2.9.1/build/net46/UtilPack.NuGet.MSBuild.dll". Could not load type of field 'UtilPack.NuGet.BoundRestoreCommandUser:_clientPolicyContext' (8) due to: Could not resolve type with token 0100006c from typeref (expected class 'NuGet.Packaging.Signing.ClientPolicyContext' in assembly 'NuGet.Packaging, Version=4.9.0.6, Culture=neutral, PublicKeyToken=31bf3856ad364e35') assembly:NuGet.Packaging, Version=4.9.0.6, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:NuGet.Packaging.Signing.ClientPolicyContext member:(null) [/home/vsts/work/1/s/ServerHost/ServerHost.csproj] ```
jthelin
force-pushed
the
GitVersioning
branch
from
September 29, 2019 01:43
acdbc3b
to
fff8180
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.