Artifact upload needs option for stripping prefix paths
Open
artifacts
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 378
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 74
Description
It would be nice to have an option e.g. "--remove-prefix-paths" or similar
So instead of "target/build/myfile.jpg" it would be "myfile.jpg" when trying to do an artifact upload.
I am aware of the "cd to directory" method but it is a little cumbersome.
Contributor guide
Research direction
Start by locating the artifact upload command and its option parsing. Verify that uploading target/build/myfile.jpg can produce myfile.jpg when the prefix-removal option is enabled, while existing behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100