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
GitVersion init settings for private github repos with Appveyor #869
Comments
@bigjonroberts this sounds like a good idea to me! |
Ditto, things like this are handy. Also would be good to add some info about using it with a private AppVeyor repo to the docs. |
Looks like this is the place to make these code changes, correct? |
Hmmm..... This took me much longer than a few days to circle back around... My magic 🎱 wasn't in fully working order back in May. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Appveyor uses ssh to clone/fetch a repo as you can configure the public key for this operation in Github.
I wanted to enable Gitversion for my private repo on Appveyor. The suggested workarounds to use https and set environment variables weren't working for me as appveyor does not include encrypted environment variables (GITVERSION_REMOTE_PASSWORD) on PR builds for security reasons.
@JakeGinnivan suggested that I change the process to avoid the extra fetch instead of trying to use ssl.
This worked out and here's what I ended up with in my appveyor.yml:
I think it would be a great idea to add a prompt in
gitversion init
asking if your repo is private and configuring appveyor output to match this when a repo is private.I'll leave this open several days to see what people think. If it seems a good idea, I should be able to make the changes this weekend and open a PR.
The text was updated successfully, but these errors were encountered: