You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can you test out the git push origin --follow-tags on a test repo to see if it works for you?
Will do.
Why doesn't v1.1.0 work for you?
Fails thusly:
Checking packages...
fatal: No annotated tags can describe 'a3a40d6877e075527f3c069923dd7ecec06f24f6'.
However, there were unannotated tags: try --tags.
There was a problem publishing.
Error: Command failed: git describe a3a40d6877e075527f3c069923dd7ecec06f24f6
fatal: No annotated tags can describe 'a3a40d6877e075527f3c069923dd7ecec06f24f6'.
However, there were unannotated tags: try --tags.
at checkExecSyncError (child_process.js:441:13)
at Object.execSync (child_process.js:481:13)
at execSync (/Users/bo/.nvm/versions/node/v4.2.3/lib/node_modules/lerna/lib/commands/updated.js:63:16)
at exports.checkUpdatedPackages (/Users/bo/.nvm/versions/node/v4.2.3/lib/node_modules/lerna/lib/commands/updated.js:30:23)
at Object.exports.execute (/Users/bo/.nvm/versions/node/v4.2.3/lib/node_modules/lerna/lib/commands/publish.js:27:23)
at Object.<anonymous> (/Users/bo/.nvm/versions/node/v4.2.3/lib/node_modules/lerna/bin/lerna.js:41:9)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
can you test out the git push origin --follow-tags on a test repo to see if it works for you?
git push origin --follow-tags didn't work on my test repo either. I had to push by hand.
Here's the full output from the two commands:
bo@bo:bo-lerna-playground (master)$ git push origin --follow-tags
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 278 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To [email protected]:gigabo/bo-lerna-playground.git
9e25299..74200b2 master -> master
bo@bo:bo-lerna-playground (master)$ git push origin v0.0.1
Total 0 (delta 0), reused 0 (delta 0)
To [email protected]:gigabo/bo-lerna-playground.git
* [new tag] v0.0.1 -> v0.0.1
Hmm weird, that version of git should support --follow-tags, but I guess we can switch to two separate commands to ensure that they don't fail for anyone
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.
Activity
jamiebuilds commentedon Feb 12, 2016
It should, can you test out the
git push origin --follow-tagson a test repo to see if it works for you?Why doesn't v1.1.0 work for you?
hzoo commentedon Feb 12, 2016
The fact that master works and 1.1.0 doesn't is weird
gigabo commentedon Feb 12, 2016
Will do.
Fails thusly:
hzoo commentedon Feb 12, 2016
Ah
--tags. I did that in #17 which was afterWe could publish a 1.1.1 that's just with that extra commit
gigabo commentedon Feb 12, 2016
git push origin --follow-tagsdidn't work on my test repo either. I had to push by hand.Here's the full output from the two commands:
gigabo commentedon Feb 12, 2016
Yes, please. :)
jamiebuilds commentedon Feb 12, 2016
Hmm weird, that version of git should support
--follow-tags, but I guess we can switch to two separate commands to ensure that they don't fail for anyonePush version tags explicitly
gigabo commentedon Feb 12, 2016
How's this?
gigabo commentedon Feb 12, 2016
Been using #54 locally. Does the trick for me.
hzoo commentedon Feb 16, 2016
FYI, We published 1.1.1
Push version tags explicitly
gigabo commentedon Feb 16, 2016
Thanks @hzoo.
jamiebuilds commentedon Feb 20, 2016
Moving to #54
Push version tags explicitly
Push version tags explicitly
lock commentedon 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.