mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Fixes #10706. Issue: Before this commit, the `refname` positional argument to `upgrade-zulip-from-git` script would run successfully for a branch name on the given remote, but the script would fail if it was provided with a tag or commit ID. Solution: 'git clone -q -b refname LOCAL_GIT_CACHE_DIR deploy_path` would be split into two commands: 1.) `git clone -q LOCAL_GIT_CACHE_DIR deploy_path` 2.) `git checkout -b deploy_timestamp refname` which makes a new branch with the same name as the timestamp used in make_deploy_path.
3.2 KiB
Executable File
3.2 KiB
Executable File