Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checkUpdatedPackages for repos without any tags #19

Merged
merged 1 commit into from
Jan 22, 2016
Merged

Conversation

jamiebuilds
Copy link
Contributor

Fixes #14

@jamiebuilds jamiebuilds changed the title Fix checkUpdatedPackages for repos without any tags. Fixes #14 Fix checkUpdatedPackages for repos without any tags Jan 22, 2016
sebmck added a commit that referenced this pull request Jan 22, 2016
Fix checkUpdatedPackages for repos without any tags
@sebmck sebmck merged commit 77621f9 into master Jan 22, 2016
@sebmck sebmck deleted the tjk/14 branch January 22, 2016 23:32
@@ -26,8 +26,14 @@ exports.checkUpdatedPackages = function (config) {

var tick = progressBar(packageNames.length);

var lastTagCommit = execSync("git rev-list --tags --max-count=1");
var lastTag = execSync("git describe " + lastTagCommit);
var hasTags = !!execSync("git tags");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be git tag, since git tags isn't a command I don't think

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

➜  lerna git:(master) ✗ git tags
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.1.0

@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants