Skip to content

Instantly share code, notes, and snippets.

@kaosf
Last active August 29, 2015 14:05
Show Gist options
  • Save kaosf/413ff9a63b515c37f927 to your computer and use it in GitHub Desktop.
Save kaosf/413ff9a63b515c37f927 to your computer and use it in GitHub Desktop.

20140823 プリキュアハッカソン作業

Clojarsサインアップ.

git clone git@github.com:kaosf/clocure.git; cd clocure

gpg --gen-key.名前をkaosfでメールアドレスをka.kaosf-=at=-gmail.comにした.パスフレーズ空にしたんだけどこれまずいのかどうかもよく分からん.

ランダムな値が必要やねんでと言われたのでfind / > /dev/nullしたりブラウザ操作したりした.

gpg --list-keysで表示された93535FB2を使ってgpg --send-keys 93535FB2してgpg --export -a 93535FB2して鍵の内容を出力してコピーしてClojarsのProfleページのPGP public key部分にペースト.Clocureのリポジトリのproject.cljを編集.正直何が必要だったのかよく分からない.lein help gpgの出力を参考にしながらやった.

該当コミット; Modify project.clj for dployment to Clojars · cdbd79d · kaosf/clocure

lein deploy clojarsで以下のエラーが出る.

Could not transfer artifact clocure:clocure:pom.asc:1.0.0 from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/clocure/clocure/1.0.0/clocure-1.0.0.pom.asc, ReasonPhrase: Forbidden.
Failed to deploy artifacts: Could not transfer artifact clocure:clocure:pom:1.0.0 from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/clocure/clocure/1.0.0/clocure-1.0.0.pom, ReasonPhrase: Forbidden.

けどいつの間にかClojarsの画面でPromotion出来るようになってて,Promotionしたら公開成功してた.どういうことなの…

GitHub repository

kaosf/clocure

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment