[discourse-web] Fetch tags as well



commit 040a8301a628331d033216c2041012ef1f0bcfdd
Author: Andrea Veri <averi redhat com>
Date:   Fri Dec 6 13:53:49 2019 +0100

    Fetch tags as well

 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index 7dd10bf..d2dc57c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,7 +37,7 @@ ENV DISCOURSE_RELEASE=$DISCOURSE_VERS DISCOURSE_TAG=$DISCOURSE_TAGS RAILS_ENV=pr
 
 RUN mkdir -p discourse && \
     git clone --depth=1 --single-branch --branch "$DISCOURSE_RELEASE"  
https://github.com/discourse/discourse.git /discourse && \
-    cd /discourse && git checkout tags/$DISCOURSE_TAG
+    cd /discourse && git fetch --tags && git checkout tags/$DISCOURSE_TAG
 
 WORKDIR $HOME
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]