roomkey / lein-v

Drive leiningen project version from git instead of the other way around
48 stars 11 forks source link

Use --no-sign param #6

Closed khmelevskii closed 7 years ago

khmelevskii commented 7 years ago

I have error

error: gpg failed to sign the data
error: unable to sign the tag

I want to use something like this ["vcs" "tag" "--no-sign"]

cch1 commented 7 years ago

I believe you can suppress signing commits for a project by adding the sign option to your leiningen profile. For example, in project.clj:

(defproject myproject :lein-v
  :description "My favorite thing"
  :v {:sign nil}
  :release-tasks [["v" "assert-anchored"]
                  ["v" "update"]
                  ["vcs" "push"]
                  ["deploy"]]
  :dependencies [[org.clojure/clojure "1.8.0"]])