Path '/home/runner/svn-slug-name/tags/refs/heads' is not a directory

Open
#172 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions, shell
Domain
ci-cd, release

Research direction

Start by reproducing the workflow with workflow_dispatch and inspect the checkout and file-copy steps after SVN installation. Trace how VERSION becomes refs/heads/master, compare that value with the available SVN tags, and capture the complete exit-128 output; done means the workflow copies the intended plugin files without the pathspec or directory error.

Written by the indexing model from the issue text.

Description

running for the first time / using workflow_dispatch (if that makes a difference)

output

SVN was successfully installed.
ℹ︎ SLUG is debug-console-php
ℹ︎ VERSION is refs/heads/master
ℹ︎ ASSETS_DIR is .wordpress-org
➤ Checking out .org repository...
A    /home/runner/svn-debug-console-php/assets
A    /home/runner/svn-debug-console-php/tags
A    /home/runner/svn-debug-console-php/trunk
Updating 'assets':
A    assets/banner-1544x500.png
A    assets/banner-772x250.png
A    assets/icon-128x128.png
Updated to revision 3415759.
Updating 'trunk':
A    trunk/src
A    trunk/src/Settings
A    trunk/vendor
...OMITTING MANY LINES....
Updated to revision 3415759.
Updating 'tags':
A    tags/3.5
Updated to revision 3415759.
➤ Copying files...
ℹ︎ Using .gitattributes
fatal: pathspec 'LICENSE
README.md
...OMITTING MANY LINES....
Error: Process completed with exit code 128.

not familiar enough with svn to know where the error originates

ℹ︎ VERSION is refs/heads/master. seems a bit suspect vs. "3.5" or "v3.5"

google says:

Examine the full error message:
The exit code 128 is often accompanied by more specific error messages in the console output. Analyze these messages for clues about the root cause.

Dominant language
Shell
Stars
665
Forks
115
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/action-wordpress-plugin-deploy

All issues in 10up/action-wordpress-plugin-deploy

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.