[Mageia-sysadm] [494] Fix tarball name by adding the date of the creation

Thierry Vignaud thierry.vignaud at gmail.com
Wed Feb 9 15:47:03 CET 2011


On 9 February 2011 15:20,  <root at mageia.org> wrote:
> Revision 494 Author dmorgan Date 2011-02-09 15:20:44 +0100 (Wed, 09 Feb
> 2011)
>
> Log Message
>
> Fix tarball name by adding the date of the creation

What for? We already have version in tarball names.
We just have to bump the version number whenever we want to do
a new release

date has no value.
aka if there's no commits in a month, I can generate
magia-kde4-config-2011-01-01 and magia-kde4-config-2011-01-31
and whatever that "version" told, there's no content difference,
whereas if we were using real version numbers, we would end
in the same tarball name which would more logic.

What's the intent here?

> Modified: mageia-kde4-config/trunk/Makefile
> ===================================================================
> --- mageia-kde4-config/trunk/Makefile	2011-02-09 14:12:24 UTC (rev 493)
> +++ mageia-kde4-config/trunk/Makefile	2011-02-09 14:20:44 UTC (rev 494)
> @@ -1,7 +1,7 @@
>  PACKAGE = mageia-kde4-config
>  PKGVERSION = $(VERSION)
>  VERSION = 1
> -
> +DATE = `date  +%m%d%Y`
>  .PHONY: all $(DIRS) clean
>
>  clean:
> @@ -17,5 +17,5 @@
>  localdist: tar
>
>  tar: localcopy
> -	tar cfa $(PACKAGE)-$(PKGVERSION).tar.lzma $(PACKAGE)-$(PKGVERSION)
> +	tar cfa $(PACKAGE)-$(PKGVERSION).$(DATE).tar.lzma $(PACKAGE)-$(PKGVERSION)
>  	rm -rf $(PACKAGE)-$(PKGVERSION)
>
>
> _______________________________________________
> Mageia-sysadm mailing list
> Mageia-sysadm at mageia.org
> https://www.mageia.org/mailman/listinfo/mageia-sysadm
>
>



-- 
> R : Tu vois !
> > Q : Tu crois ?
> > > R : Ça casse l'ordre chronologique de l'échange.
> > > > Q : En quoi répondre au dessus est-il gênant ?


More information about the Mageia-sysadm mailing list