From: Jeff Wong Date: Fri, 11 Dec 2020 02:19:06 +0000 (-1000) Subject: FIX: reset takes the full slash path (#501) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bf223b05427d432d6ab313eb7740d42caa989c6a;p=discourse_docker.git FIX: reset takes the full slash path (#501) --- diff --git a/templates/web.template.yml b/templates/web.template.yml index 0c64e15..ab6ba73 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -90,7 +90,7 @@ run: - git remote set-branches origin $version - git fetch --depth 1 origin $version - git checkout $version - - git reset --hard origin $version + - git reset --hard origin/$version - git clean -f - mkdir -p tmp - chown discourse:www-data tmp