mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-24 20:29:10 +00:00
Fix release failure by fetching all tags during checkout
Command:
for remote in local_repo.remotes:
remote.fetch('--tags')
Error message:
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v -- origin --tags
stderr: 'fatal: couldn't find remote ref --tags'
Before:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin [...]
After:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin [...]
This commit is contained in:
@@ -14,6 +14,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install requirements
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user