Em 25/03/2016 14:58, Dmitry Yemanov escreveu:
> 25.03.2016 20:25, Adriano dos Santos Fernandes wrote:
>>
>> Looks like I found a good workaround for github "download zip" (or git
>> archive).
>>
>> Look at my test repository to see the simple solution which we can work on:
>>
>> https://github.com/asfernandes/test1
>>
>> Used this info to build it:
>>
>> https://git-scm.com/book/uz/v2/Customizing-Git-Git-Attributes
> 
> Can we call git from the filter and expect the repository directory 
> being the current one? What about multiple shell commands?

I think no. But now we have a build number for each date, so with the
date we can simulate the same per-day buildno we have now.


> Does it work also for checkouts or only for downloads?
> 

Does not work for checkout.

So our build must check the file. If it have the git tags unexpanded,
it's a git repository so build tool can use a local git command to
generate this number (in a not version-controlled file).


Adriano

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to