Yarn: `yarn config set version-git-sign true` doesn't sign git tags

Created on 18 Apr 2017  路  2Comments  路  Source: yarnpkg/yarn

When I run git tag -a -s -m "version 1.0.0" v1.0.0, it can create a tag with signing.

I have configured yarn with:

yarn config set version-git-sign true
yarn config set version-git-tag true

And then run yarn version

But yarn create git tags without signing.

Most helpful comment

Looks like the documentation is incorrect, the code is using version-sign-git-tag.

All 2 comments

Looks like the documentation is incorrect, the code is using version-sign-git-tag.

More than two years later, and I just ran into this problem as well. Why is there a useless version-git-sign in my Yarn config? Can the unused config value be removed to avoid confusion?

Was this page helpful?
0 / 5 - 0 ratings