Page 1 of 1

Publishing to a Git repo from an SVN-bound Flare project

Posted: Tue Sep 10, 2019 2:56 pm
by cdhogan
Here's what I want to do:
1. Build my Flare project, which is bound to SVN.
2. Publish the output files to Git and have them automatically added and committed to the local repository and then automatically checked into (pushed) to the remote repository.

I know Flare can publish the output files to SVN and automatically check in those files. I just haven't been able to determine if I can build from an SVN-bound Flare project and then publish to a Git repo.

Re: Publishing to a Git repo from an SVN-bound Flare project

Posted: Thu Sep 12, 2019 9:00 pm
by JRtechw
OTTOMH it seems tricky without a 'Publish event' equivalent in the Flare Target.

You could either:

1. Have a Windows batch file that uses madbuild to build and publish the project, and after the files have been published to your local git repo, fire off some git bash commands to handle the commits and push to remote repo.

2. Use a tool like Gitwatch (a bash script on Github) and set it to watch your local repo for changes. After your files after published to the local repo from Flare, Gitwatch will pick up the file change and handle the commits and push to remote.