strongloop / strong-tools

Tools for packaging, releasing, and preparing npm modules
Other
8 stars 7 forks source link

not working after rewrite #47

Closed sam-github closed 8 years ago

sam-github commented 8 years ago

npm install -g of strong-tools:

liberty/apiconnect-collective-member (liberty-pm $%) % git br -D release/1.0.0; git tag -d v1.0.0
error: branch 'release/1.0.0' not found.
error: tag 'v1.0.0' not found.
liberty/apiconnect-collective-member (liberty-pm $%) % slt-release -u 1.0.0               Releasing liberty-pm as 1.0.0 (tagged as v1.0.0, updating 1.x-latest)...
Creating release branch 'release/1.0.0' from liberty-pm
Switched to a new branch 'release/1.0.0'
Updating CHANGES.md
Error fulfilling request: [TypeError: tag.replace is not a function]
Updating package version to 1.0.0
strong-liberty-pm@1.0.0
Committing package and CHANGES for v1.0.0
Error fulfilling request: { [Error: Command failed: /bin/sh -c git rev-list -n 1 undefined
fatal: ambiguous argument 'undefined': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
]
  killed: false,
  code: 128,
  signal: null,
  cmd: '/bin/sh -c git rev-list -n 1 undefined' }
On branch release/1.0.0
Untracked files:
        tap.out
        test/my-server/log/

nothing added to commit but untracked files present

backdated to a git clone of 612497c:

liberty/apiconnect-collective-member (liberty-pm $%) % slt-release -u 1.0.0
Releasing liberty-pm as 1.0.0 (tagged as v1.0.0, updating 1.x-latest)...
Creating release branch 'release/1.0.0' from liberty-pm
Switched to a new branch 'release/1.0.0'
Updating CHANGES.md
Updating package version to 1.0.0
strong-liberty-pm@1.0.0
Committing package and CHANGES for v1.0.0
[release/1.0.0 6ad39de] 1.0.0
 1 file changed, 4 insertions(+)
Checking out starting branch
Switched to branch 'liberty-pm'
Updating liberty-pm..
Updating 99c39ef..6ad39de
Fast-forward
 CHANGES.md | 4 ++++
 1 file changed, 4 insertions(+)
Deleted branch release/1.0.0 (was 6ad39de).
Pushing tag v1.0.0 and branches 1.x-latest and liberty-pm to origin
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 457 bytes | 0 bytes/s, done.
Total 4 (delta 1), reused 0 (delta 0)
To git@github.com:strongloop/apiconnect-collective-member.git
   99c39ef..6ad39de  liberty-pm -> liberty-pm
 * [new tag]         v1.0.0 -> v1.0.0
 * [new branch]      1.x-latest -> 1.x-latest
Publish to npmjs.com when ready:
  git checkout v1.0.0 && npm publish