Would it be possible to add GitVersion onto the Build Worker
Not sure if you have heard of this project or not:
https://github.com/particular/gitversion
But it is a very useful tool in order to generate a semantic version number, based on the current state of a git repository. This is incredibly useful, rather than having to control that yourself.
This package can be easily added to a build through doing choco install gitversion.portable, but I was just wondering if this is something that could be added to the base Build Worker image, rather than having to do the install.
Thanks
Gary
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 14 Sep, 2014 12:09 AM
Sure, will take a look!
-Feodor
2 Posted by gep13 on 14 Sep, 2014 08:01 PM
That is great, thank you! :-)
Support Staff 3 Posted by Feodor Fitsner on 19 Sep, 2014 11:55 PM
GitVersion has been deployed to worker image and is available in PATH.
4 Posted by gep13 on 20 Sep, 2014 07:16 AM
This is great news, thanks! :-)
gep13 closed this discussion on 20 Sep, 2014 07:16 AM.
gep13 re-opened this discussion on 20 Sep, 2014 07:17 AM
5 Posted by gep13 on 20 Sep, 2014 07:17 AM
Just wanted to check which version you had installed, and noticed that it wasn't on the Build Worker Installed Software Page, can it be added?
http://www.appveyor.com/docs/installed-software
6 Posted by gep13 on 08 Oct, 2014 09:19 PM
Prod... :-)
Can you update the installed software page?
Thanks!
Support Staff 7 Posted by Feodor Fitsner on 08 Oct, 2014 09:29 PM
Sure, where do I get the latest version which incorporates this PR: https://github.com/Particular/GitVersion/pull/273?
8 Posted by gep13 on 08 Oct, 2014 09:35 PM
Just logged off PC, will send url through tomorrow morning. Or, if you check my github, and the ChocolateyGUI repo, in the buildsctipts folder and in default.ps1, search for -source you will see the url to my myget feed where it is coming from.
This uses a hooky version number though, so use with care. I have submitted a PR to GitVersion to have it included and hopefully a new release will come soon.
Sent from my Windows Phone
________________________________
Support Staff 9 Posted by Feodor Fitsner on 08 Oct, 2014 09:37 PM
Great, thank you! No rush, I will wait for your link tomorrow.
10 Posted by gep13 on 09 Oct, 2014 06:21 AM
Hey,
Originally, I was using a version that was coming from:
choco install GitVersion.Portable -source https://www.myget.org/F/gep13/ -pre
However, I have just checked, and version 1.3.2 is now available on Chocolatey.org.
I am just running a test just now to validate whether it works as expected on AppVeyor.
11 Posted by gep13 on 09 Oct, 2014 06:30 AM
Yip, all working with latest version from Chocolatey.org:
https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/0....
Support Staff 12 Posted by Feodor Fitsner on 09 Oct, 2014 04:41 PM
Cool, will grab it from there.
Support Staff 13 Posted by Feodor Fitsner on 09 Oct, 2014 04:51 PM
Oh,
PSBuild
looks interesting and colors are nice :)I guess it's a missing component for better integration with PSake, right?
14 Posted by gep13 on 09 Oct, 2014 05:06 PM
Yeah, I noticed the colours, a welcome addition :-)
If there is anything that could be done to better integrate with psake I would certainly welcome it, but in all honesty, it has been very good so far!
Sent from my Windows Phone
________________________________
Support Staff 15 Posted by Feodor Fitsner on 16 Oct, 2014 03:56 AM
GitVersion 1.3.2 has been deployed to workers.
16 Posted by gep13 on 16 Oct, 2014 06:34 AM
Nice one, thank you! So that others can see that it is there, ready to be used, can you add it to the "Build Worker Installed Software" page?
Thanks
Support Staff 17 Posted by Feodor Fitsner on 17 Oct, 2014 05:57 AM
Updated.
18 Posted by gep13 on 17 Oct, 2014 06:36 AM
Thanks you!
gep13 closed this discussion on 17 Oct, 2014 06:37 AM.