[PATCH] Add a dist target that copies the archive to fedorahosted
Vratislav Podzimek
vpodzime at redhat.com
Mon Aug 12 10:04:09 UTC 2013
On Thu, 2013-08-01 at 09:48 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
>
> ---
> Makefile | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index b8c0456..654024d 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -27,11 +27,14 @@ clean:
> tag:
> git tag -f $(TAG)
>
> -archive: tag
> +archive:
> @git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(TAG) > $(PKGNAME)-$(VERSION).tar
> @gzip $(PKGNAME)-$(VERSION).tar
> @echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
>
> +dist: tag archive
> + scp $(PKGNAME)-$(VERSION).tar.gz fedorahosted.org:lorax
> +
What is the 'fedorahosted.org:lorax' destination? Going to
'fedorahosted.org/lorax' gets me to a Trac instance with no link to a
page with tarballs. There is only a link to the cgit that has tarballs
for all tags.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list