Closed pablopareja closed 10 years ago
it says:
Cannot run program "git.exe"
Because it uses git to commit version change and make a tag, etc. So try quit sbt and run git. If it doesn't work, something is wrong with your git. Tell me if that's the case.
May be git is just not in your $PATH
, so show it to me ")
Typing git doesn't work, I'm gonna try adding it to $PATH
sorry, I edited your message, because in this case that last
log is not needed ")
Did you solve it?
Not really, it looks like I have to do something else now:
release [error] Aborting release. Working directory is dirty. [error] Use 'last' for the full log.
Maybe I should clean somehow the directory? (I just don't know how... :smiley: )
commit your changes
just did and I keep getting the same error, do you want me to paste what I get when I type "last" ?
no, better paste, what you get from git status
you probably have stuff outside of your working tree
There you go:
C:\era7\ppareja\proyectos\JAVA\bio4j-model>git status
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: src/main/java/com/era7/Lalalala.java
#
no changes added to commit (use "git add" and/or "git commit -a")
git rm src/main/java/com/era7/Lalalala.java
git commit -am 'delete test file'
wai-wai-wait "/
why do you need to do git rm
? Why not just
git commit -am 'delete test file'
?
jijiji too late! I already removed it and release seem to be working :wink:
@laughedelic that it won't work is a good reason (for the first thing you posted)
Your updated version works just fine
ok, then closing it.
Wait! It looked like it was about to finish but it got frozen here:
> release
[info] Starting release process off commit: 20d2ed7ca99bb61945844b694460ea14205d
6e69
[info] Checking remote [origin] ...
Is it possible that this is caused by my internet connection?
git remote -v show
?
$ git remote -v show
origin git@github.com:bio4j/bio4j-model.git (fetch)
origin git@github.com:bio4j/bio4j-model.git (push)
@pablopareja pull changes, you had a lot of eclipse-specific stuff there
Just did it and ran release again but it looks like it got stucked at the same place... (my internet connection shouldn't be a problem because I'm doing other things at the same time at it works fine...)
@laughedelic something related with timetracking maybe? or funny git
on windows stuff?
ok, well. @pablopareja show me please your .git/config
file
Where's that? :smile:
in your repo, where you do all this stuff.
I hope all this was solved somehow..
Hello everyone!
I just got this weird error in sbt when hitting release command:
Any ideas?