Closed gjtorikian closed 12 years ago
Hmm. Strange. If it happens consistently or you can find a pattern let me know.
I have not run into it.
It happens every time I try to use it. Used to happen all the time with C9Local, too.
How do I change the sm verbosity so that I can presumably see more logs?
I'll have to add a setting for more verbose logs.
Can you zip the whole folder and email it to me please.
As a workaround you can manually tag the library at the next version (make sure version
in package.json
matches):
git tag v0.1.X
Just thought of something that may help: Make sure you have pulled the latest tage first:
git fetch origin
git fetch origin
did not help.
On my local machine, I added a forced options.verbose = true
. Here's the new output:
Running: git status (cwd: /Users/gjtorikian/Developer/cloud9ide-documentation)
# On branch master
nothing to commit (working directory clean)
Running: git rev-parse HEAD (cwd: /Users/gjtorikian/Developer/cloud9ide-documentation)
9671598aa30823466db1c145eae1b4e247f57d44
Running: git log --oneline origin/master..HEAD (cwd: /Users/gjtorikian/Developer/cloud9ide-documentation)
Running: git log --oneline --decorate -n 1 (cwd: /Users/gjtorikian/Developer/cloud9ide-documentation)
9671598 (HEAD, origin/master, master) bump package version to v0.1.3
Running: git add . (cwd: /Users/gjtorikian/Developer/cloud9ide-documentation)
Running: git commit -m bump package version to v0.1.4 (cwd: /Users/gjtorikian/Developer/cloud9ide-documentation)
[master c20743d] bump package version to v0.1.4
1 file changed, 1 insertion(+), 1 deletion(-)
* ERROR ***************************************************************************
* Error: Error committing: [master c20743d] bump package version to v0.1.4
1 file changed, 1 insertion(+), 1 deletion(-)
The error is emitted on this line:
return Q.when(done, function() {
return self.callGit([
"commit",
"-m", message
]).then(function(result) {
if (!/\d* files changed,/.test(result)) {
throw new Error("Error committing: " + result);
}
});
});
Not sure how it's supposed to find the "files changed" message, but that's where the error is.
Should be fixed in: sm@0.2.5
Confirmed that it's working. Thanks!
Command:
sm bump -p
on
sm 0.2.4
.Result:
Expected: it does the push to the repo.
I'd seen this before with just
sm bump
and oldersm
versions.