Skip to content

Instantly share code, notes, and snippets.

@prio
Created April 23, 2014 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prio/11206587 to your computer and use it in GitHub Desktop.
Save prio/11206587 to your computer and use it in GitHub Desktop.
Add UPSTREAM_TAG support to rabbitmq-public-umbrella
--- a/do-package.mk Tue Apr 15 13:11:24 2014 +0100
+++ b/do-package.mk Wed Apr 23 09:12:18 2014 +0100
@@ -233,6 +233,7 @@
# Work around weird github breakage (bug 25264)
cd $(CLONE_DIR) && git pull
$(if $(UPSTREAM_REVISION),cd $(CLONE_DIR) && git checkout $(UPSTREAM_REVISION))
+ $(if $(UPSTREAM_TAG),cd $(CLONE_DIR) && git checkout tags/$(UPSTREAM_TAG))
$(if $(WRAPPER_PATCHES),$(foreach F,$(WRAPPER_PATCHES),patch -d $(CLONE_DIR) -p1 <$(PACKAGE_DIR)/$(F) &&) :)
touch $$@
endif # UPSTREAM_GIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment