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

This forum is for all Flare issues related to using Source Control.

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

Postby cdhogan on Tue Sep 10, 2019 2:56 pm

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.
cdhogan
Jr. Propeller Head
 
Posts: 1
Joined: Thu Feb 27, 2014 1:12 pm

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

Postby JRtechw on Thu Sep 12, 2019 9:00 pm

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


Return to Source Control

Who is online

Users browsing this forum: No registered users and 1 guest

cron