From 25444bfa46ed741ff3a6cde6aa8fc04c288010ee Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 10 Mar 2022 15:06:46 +0000 Subject: [PATCH] community: workaround git tag checkout bug --- cookbooks/community/templates/default/web_only.yml.erb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cookbooks/community/templates/default/web_only.yml.erb b/cookbooks/community/templates/default/web_only.yml.erb index b129a06c0..401a18c51 100644 --- a/cookbooks/community/templates/default/web_only.yml.erb +++ b/cookbooks/community/templates/default/web_only.yml.erb @@ -19,8 +19,9 @@ links: # any extra arguments for Docker? # docker_args: -params: - version: v2.8.1 +# Workaround bug: https://github.com/discourse/discourse_docker/pull/505 +# params: +# version: v2.8.1 env: LC_ALL: en_US.UTF-8 @@ -92,6 +93,11 @@ hooks: - git clone --depth 1 https://github.com/discourse/discourse-solved.git - git clone --depth 1 https://github.com/discourse/discourse-canned-replies.git - git clone --depth 1 https://github.com/discourse/discourse-reactions.git + - exec: + cd: $home + cmd: + - git fetch --depth=1 origin tag v2.8.1 --no-tags + - git checkout v2.8.1 after_ssl: - file: path: "/etc/nginx/letsencrypt.conf" -- 2.45.1