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

This forum is for all Flare issues related to using Source Control.
Post Reply
cdhogan
Jr. Propeller Head
Posts: 1
Joined: Thu Feb 27, 2014 1:12 pm

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

Post 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.
JRtechw
Propeller Head
Posts: 68
Joined: Thu Oct 05, 2017 8:08 pm

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

Post 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.
Post Reply