gradle-release-plugin
gradle-release-plugin copied to clipboard
Issue with Single Quotes on Windows
Hi,
The plugin has worked well on MacOS, running the gradle script on a Windows machine using GitBash, the following error results. Is this an issue with the use of Single Quotes rather than Double Quotes? If so, what recommendations do you have for resolving this?
Thanks!
:releaseerror: pathspec 'version.txt' did not match any file(s) known to git. FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':release'.
Process 'command 'git'' finished with non-zero exit value 1
Please try "chmod 777 version.txt" in git bash on windows.
Hello, I tried that and I get the same result. Perhaps your plugin needs to use a cross-platform plugin for the Exec command: https://github.com/jlouns/gradle-cross-platform-exec-plugin [https://github.com/jlouns/gradle-cross-platform-exec-plugin]
On Mon, Nov 13, 2017 at 2:18 AM, Stefan [email protected] wrote: Please try "chmod 777 version.txt" in git bash on windows.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [https://github.com/netzwerg/gradle-release-plugin/issues/38#issuecomment-343844194] , or mute the thread [https://github.com/notifications/unsubscribe-auth/ACL6UbRgGZqkZFMeFTf2PrUkH94Fmt-yks5s1_tBgaJpZM4QbEVL] .
Sorry for not getting back to you earlier – did you have any success in the meantime? Unfortunately, I personally only use the plugin on OSX and Linux, but afaik others are successfully using it on Windows...