Page 1 of 1

Automating upload to source control

Posted: Wed Oct 03, 2018 9:21 am
by TroyWells
I know how to automate a command line build and/or publish with multiple projects. However, I have a situation where I want to similarly upload changed files to source control, in this case MadCap Central.

I thought about doing it as a standalone line in a .bat file, but don't know if that is possible and what the syntax.

Similarly, I have thought about including it in the target as a post-build event. That way, I could use my .bat file and the upload would happen as part of the build, but again, I have not had success in finding if this is possible and what the syntax would be.

Do any of you have ideas on how either of these options would work or have another idea?

Thanks!!

Re: Automating upload to source control

Posted: Wed Oct 03, 2018 5:17 pm
by Psider
I think I read that Central is based on Git, so the syntax could be similar. I don't have any experience either way, though, sorry.