Open
Description
Expected Behavior
surf simulate release/my-new-release
should work like
surf simulate my-new-release
if the configuration is located in .surf/release/my-new-release.php
Actual Behavior
surf simulate release/my-new-release
breaks, because directory is not switched correctly.
my-project.testserver.net (my-project.testserver.net) TYPO3\Surf\Task\Package\GitTask
(localhost): "git ls-remote file:///home/gitlab-runner/builds/GT9ITcjd/0/websites/my-project/.surf refs/heads/release/my-new-release | awk '{print $1 }'"
> fatal: '/home/gitlab-runner/builds/GT9ITcjd/0/websites/my-project/.surf' does not appear to be a git repository
> fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Got exception "Could not retrieve sha1 of git branch "release/my-new-release"" rolling back.
Specifications
- Surf Version: 3.3.4
- PHP Version: 8.0
- Environment (CI): GitLab (Runner)
- CI-Call from GitLab:
surf simulate $CI_COMMIT_BRANCH
- config file path: .surf/release/my-new-release.php