On Mon, 27 Jul 2015 at  0:33:43 +0200, Paolo Pisati wrote:
> On Sun, Jul 26, 2015 at 11:22:18PM +0100, Carlos R. Mafra wrote:
> > On Mon, 27 Jul 2015 at  0:02:07 +0200, Paolo Pisati wrote:
> > > On Sun, Jul 26, 2015 at 10:48:08PM +0100, Carlos R. Mafra wrote:
> > > > 
> > > > What happens if you don't have git installed?
> > > 
> > > 
> > > I thought we were just distributing the source via git (thus one is 
> > > supposed to
> > > have git installed), but i see your point - i should wrap the SHA part in 
> > > a
> > > shell script that fails graciously in case git is missing.
> > 
> > Furthermore, I think that simply appending the sha1 unconditionally is
> > annoying. For a released version we want to have eg '0.95.6' and
> > not '0.95.6-3bd9e83'. The sha1 string should be present only in between
> > full releases.
> 
> Right, but i don't think there's a way to distinguish between the two - you
> should just comment it out when you cut a new release and re-enable it
> afterwards.

Perhaps the way to go is to use 'git describe' and some cutting
of the output.

For the release commit the output is:
wmaker-0.95.6

and from the top of #next is:
wmaker-0.95.6-331-gfc43778


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to