Commit d0f001e
committed
cmd/gorelease: migrated
The expectation of this application is that it is to be utilized in release
pipelines. Due to this expectation, pipelines utilize volume mounting to
transfer artifacts (untracked files) across different jobs (specifically
referring to GITLAB here).
This is a problem because git status --porcelain checks for untracked files
and returns them as a list. This causes this pipeline to fail unexpectedly.
In testing, `git reset --hard` will not remove these, while a
`git clean -fdx` will correctly remove these files.
I would recommend that in a follow-up commit there is an update to the
available args for this cmd to control if untracked files are to be
included or not (eg: --untracked)git status --porcelain to git diff
1 parent 1b97071 commit d0f001e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
1510 | | - | |
| 1510 | + | |
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
| |||
0 commit comments