Would it be possible to add GitVersion onto the Build Worker

gep13's Avatar

gep13

13 Sep, 2014 07:27 PM

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

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Sep, 2014 12:09 AM

    Feodor Fitsner's Avatar

    Sure, will take a look!

    -Feodor

  2. 2 Posted by gep13 on 14 Sep, 2014 08:01 PM

    gep13's Avatar

    That is great, thank you! :-)

  3. Support Staff 3 Posted by Feodor Fitsner on 19 Sep, 2014 11:55 PM

    Feodor Fitsner's Avatar

    GitVersion has been deployed to worker image and is available in PATH.

  4. 4 Posted by gep13 on 20 Sep, 2014 07:16 AM

    gep13's Avatar

    This is great news, thanks! :-)

  5. gep13 closed this discussion on 20 Sep, 2014 07:16 AM.

  6. gep13 re-opened this discussion on 20 Sep, 2014 07:17 AM

  7. 5 Posted by gep13 on 20 Sep, 2014 07:17 AM

    gep13's Avatar

    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

  8. 6 Posted by gep13 on 08 Oct, 2014 09:19 PM

    gep13's Avatar

    Prod... :-)

    Can you update the installed software page?

    Thanks!

  9. Support Staff 7 Posted by Feodor Fitsner on 08 Oct, 2014 09:29 PM

    Feodor Fitsner's Avatar

    Sure, where do I get the latest version which incorporates this PR: https://github.com/Particular/GitVersion/pull/273?

  10. 8 Posted by gep13 on 08 Oct, 2014 09:35 PM

    gep13's Avatar

    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
    ________________________________

  11. Support Staff 9 Posted by Feodor Fitsner on 08 Oct, 2014 09:37 PM

    Feodor Fitsner's Avatar

    Great, thank you! No rush, I will wait for your link tomorrow.

  12. 10 Posted by gep13 on 09 Oct, 2014 06:21 AM

    gep13's Avatar

    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.

  13. 11 Posted by gep13 on 09 Oct, 2014 06:30 AM

    gep13's Avatar

    Yip, all working with latest version from Chocolatey.org:

    https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/0....

  14. Support Staff 12 Posted by Feodor Fitsner on 09 Oct, 2014 04:41 PM

    Feodor Fitsner's Avatar

    Cool, will grab it from there.

  15. Support Staff 13 Posted by Feodor Fitsner on 09 Oct, 2014 04:51 PM

    Feodor Fitsner's Avatar

    Oh, PSBuild looks interesting and colors are nice :)
    I guess it's a missing component for better integration with PSake, right?

  16. 14 Posted by gep13 on 09 Oct, 2014 05:06 PM

    gep13's Avatar

    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
    ________________________________

  17. Support Staff 15 Posted by Feodor Fitsner on 16 Oct, 2014 03:56 AM

    Feodor Fitsner's Avatar

    GitVersion 1.3.2 has been deployed to workers.

  18. 16 Posted by gep13 on 16 Oct, 2014 06:34 AM

    gep13's Avatar

    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

  19. Support Staff 17 Posted by Feodor Fitsner on 17 Oct, 2014 05:57 AM

    Feodor Fitsner's Avatar

    Updated.

  20. 18 Posted by gep13 on 17 Oct, 2014 06:36 AM

    gep13's Avatar

    Thanks you!

  21. gep13 closed this discussion on 17 Oct, 2014 06:37 AM.

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