I had been stuck for a while then I ran
./gradlew uploadArchives --debug
and found out that it created another path for the repo which is:
/private/var/folders/tw/74ynfd_11pq126n9lhm80y6c0000gn/T/wagon-git-bd76c7d81db864eb8cbd409f5e56afe3b4cc8209
and it tried to push it up but it didn't work because there was a git conflict problem.
I had been stuck for a while then I ran
./gradlew uploadArchives --debug
and found out that it created another path for the repo which is:/private/var/folders/tw/74ynfd_11pq126n9lhm80y6c0000gn/T/wagon-git-bd76c7d81db864eb8cbd409f5e56afe3b4cc8209
and it tried to push it up but it didn't work because there was a git conflict problem.Does this work correctly or it should do in the current directory? I use this gradle script for publishing https://github.com/JeroenMols/GitAsMaven/blob/master/publish-bitbucket.gradle