Skip to content

Push version tags explicitly - #54

Merged
jamiebuilds merged 1 commit into
lerna:masterfrom
gigabo:explicit-tag-push
Feb 22, 2016
Merged

jamiebuilds merged 1 commit into
lerna:masterfrom
gigabo:explicit-tag-push

Conversation

@gigabo

@gigabo gigabo commented Feb 12, 2016

Copy link
Copy Markdown
Contributor

Somehow --follow-tags doesn't always work.

#52

@jamiebuilds

Copy link
Copy Markdown
Contributor

This isn't going to work with #36, does git push git push --tags work for you?

@gigabo

gigabo commented Feb 12, 2016

Copy link
Copy Markdown
Contributor Author

Doesn't git push --tags push all tags? That seems unsafe.

Would this work with #36 if tags were passed to gitPushWithTags instead of version?

function gitPushWithTags(tags) {
  execSync("git push");
  execSync("git push origin " + tags.join(" "));
}

@jamiebuilds

Copy link
Copy Markdown
Contributor

That would work too, I'll merge the independent mode PR shortly.

@jamiebuilds

Copy link
Copy Markdown
Contributor

@gigabo could you rebase this when you get a chance?

@gigabo

gigabo commented Feb 16, 2016

Copy link
Copy Markdown
Contributor Author

Rebased. I'll update for compatibility with independent mode when that lands, too. Thanks.

@jamiebuilds

Copy link
Copy Markdown
Contributor

Hey @gigabo, just merged #36. Want to update this? I might just grab it and fix it up to merge it this weekend if you don't have time to do it.

@gigabo

gigabo commented Feb 22, 2016

Copy link
Copy Markdown
Contributor Author

Hi @thejameskyle, I missed this over the weekend. I'll update this morning.

Somehow `--follow-tags` doesn't always work.

lerna#52
@gigabo

gigabo commented Feb 22, 2016

Copy link
Copy Markdown
Contributor Author

Updated and tested.

@gigabo gigabo mentioned this pull request Feb 22, 2016
jamiebuilds added a commit that referenced this pull request Feb 22, 2016
@jamiebuilds
jamiebuilds merged commit 8d8b99c into lerna:master Feb 22, 2016
@jamiebuilds

Copy link
Copy Markdown
Contributor

Thanks!

@lock

lock Bot commented Dec 28, 2018

Copy link
Copy Markdown

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.

2 participants