[discourse-web] Revert hardcoding a specific tag as we then cannot cherry-pick random fixes from the tests-passed br
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [discourse-web] Revert hardcoding a specific tag as we then cannot cherry-pick random fixes from the tests-passed br
- Date: Tue, 10 Dec 2019 11:24:07 +0000 (UTC)
commit 233831965c26552b6e02231bb39f7bfc264f08f8
Author: Andrea Veri <averi redhat com>
Date: Tue Dec 10 12:24:17 2019 +0100
Revert hardcoding a specific tag as we then cannot cherry-pick random fixes from the tests-passed branch
Dockerfile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 401a124..862e156 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,12 +31,10 @@ RUN apt update && \
### Set up Discourse ##################################
# - So we can overrride it with --build_arg
ARG DISCOURSE_VERS='tests-passed'
-ARG DISCOURSE_TAGS='v2.4.0.beta8'
-ENV DISCOURSE_RELEASE=$DISCOURSE_VERS DISCOURSE_TAG=$DISCOURSE_TAGS RAILS_ENV=production
RAILS_ROOT=/discourse HOME=/discourse
+ENV DISCOURSE_RELEASE=$DISCOURSE_VERS RAILS_ENV=production RAILS_ROOT=/discourse HOME=/discourse
RUN mkdir -p discourse && \
- git clone --depth=1 --single-branch --branch "$DISCOURSE_RELEASE"
https://github.com/discourse/discourse.git /discourse && \
- cd /discourse && git fetch --tags && git checkout tags/$DISCOURSE_TAG
+ git clone --depth=1 --single-branch --branch "$DISCOURSE_RELEASE"
https://github.com/discourse/discourse.git /discourse
WORKDIR $HOME
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]