Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Add the following to your file
    •  :deploy-repositories [["staging" {:sign-releases true
               :url "https://repository.apache.org/service/local/staging/deploy/maven2"
                                                              :creds :gpg
                                                              :signing {:gpg-key "you@apache.orgyour key"}   ;; this can be email of key-id
                                                              :snapshots true
                                                             :checksum :fail
                                                             :update :always
                                                             :releases {:checksum :fail :update :always}}]] 

    • if it does not prompt for passphrase (known bug in OSX) - you can run 

      gpg --quiet --batch --decrypt ~/.lein/credentials.clj.gpg

  • Now you can run the deploy with lein deploy staging. You will be prompted for you gpg passphrase.

    • For automatic deploys in the future, we can look into more why this is prompting. It does not prompt for linux


...