Unlike with a SVN workspace the release:prepare goal in a Git workspace
seems to not error-out when it sees untracked (git status results
in ??) files. I have seen this on windows.

In some cases it was not mentioning the files at all (they are shown in
-X debug output) in other cases it was printing a warning that it does
not understand ?? file.

[WARNING] Ignoring unrecognized line: ?? file.txt

The files are not ignored, neither by the releaseBackup patterns nor
by .gitignore. Any idea if this is a bug?

I havent found a bug mentioning this, but this bug here shows an
example for the warning:
https://issues.apache.org/jira/browse/MRELEASE-881

My Path contains GitHubs "git 4 windows" in version 1.9.5.github.0


36047 [INFO] Verifying that there are no local modifications...
36050 [INFO]   ignoring changes on: **\pom.xml.next,
**\release.properties, **\pom.xml.branch, **\pom.xml.tag,
**\pom.xml.backup, **\pom.xml.releaseBackup 36114 [INFO] Executing:
cmd.exe /X /C "git status --porcelain" 36116 [INFO] Working directory:
C:\ws\github\jabylon 36363 [DEBUG] ?? dirty.txt
36427 [DEBUG] ?? pom.xml.releaseBackup
36428 [DEBUG] ?? release.properties
36444 [INFO] Checking dependencies and plugins for snapshots ...

Gruss
Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to