FIX: reset takes the full slash path (#501)
authorJeff Wong <awole20@gmail.com>
Fri, 11 Dec 2020 02:19:06 +0000 (16:19 -1000)
committerGitHub <noreply@github.com>
Fri, 11 Dec 2020 02:19:06 +0000 (13:19 +1100)
templates/web.template.yml

index 0c64e15bcb8a3db5dfdd3fd85136070bf8305eb8..ab6ba734c127716a7d8c50ecd430f7e576b30e52 100644 (file)
@@ -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