A platform for community discussion. Free, open, simple.
DEV: Fix an apparently "too modern" git command (#10894)
Jarek Radoszacf5a26058ca
diff --git a/spec/components/version_spec.rb b/spec/components/version_spec.rbindex 6d519a22ae5..345cc251f69 100644--- a/spec/components/version_spec.rb+++ b/spec/components/version_spec.rb@@ -106,7 +106,7 @@ describe Discourse::VERSION do# Simulate a remote upstream`cd #{path} && git remote add origin #{path}/.git && git fetch -q`- `cd #{path} && git branch -u origin/$(git branch --show-current)`+ `cd #{path} && git branch -u origin/$(git rev-parse --abbrev-ref HEAD)`endpath