diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45745fafe31d6a5e427729265da88327b3e1b14c..bad17277604eeabf3aaa1bb23a8ab373d643ac01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,15 +35,3 @@ nexus_deploy: stage: publish script: - mvn -B -s ./settings.xml -Drevision=${REVISION} clean install deploy - -github_push: - stage: publish - script: - - git push --force https://${GITHUB_USR}:${GITHUB_PWD}@github.com/ikus060/${CI_PROJECT_NAME}.git refs/remotes/origin/${CI_COMMIT_REF_NAME}:refs/heads/${CI_COMMIT_REF_NAME} - - git push https://${GITHUB_USR}:${GITHUB_PWD}@github.com/ikus060/${CI_PROJECT_NAME}.git --tags - -gitlab_push: - stage: publish - script: - - git push --force https://${GITLAB_COM_USR}:${GITLAB_COM_PWD}@gitlab.com/pdsl/${CI_PROJECT_NAME}.git refs/remotes/origin/${CI_COMMIT_REF_NAME}:refs/heads/${CI_COMMIT_REF_NAME} - - git push https://${GITLAB_COM_USR}:${GITLAB_COM_PWD}@gitlab.com/pdsl/${CI_PROJECT_NAME}.git --tags diff --git a/README b/README index 79aafd0bc42006eb07842f7b1d8c5878927753de..bc20128cc7beb3b0a9c090f8a0d251926ed68284 100644 --- a/README +++ b/README @@ -1,24 +1,27 @@ -Copyright (c) 2013 David Stites, Patrik Dufresne and others. +# How it work ? -LICENSING -========= + +# Usage + +## Generate your public and private key + +Create the private key (containing information to create the public key). + + $ openssl genrsa -out privkey.pem 2048 + $ openssl pkcs8 -topk8 -in privkey.pem -inform PEM -nocrypt -outform DER -out privkey.der + +Extract the public key, for publishing. + $ openssl rsa -in privkey.pem -out pubkey.der -pubout -outform DER + + + +# License This program is free software; you can redistribute it and/or modify it under the terms of Apache License 2.0 - + You should have received a copy of the Apache License 2.0 along with this program in the file named "LICENSE". This package is based on the following article: http://blog.afewguyscoding.com/2012/02/licensing-module-java/ - -Generate your keys -================== - -Create the private key (containing informationto create the public key). - - $ openssl genrsa -out privkey.pem 2048 - $ openssl pkcs8 -topk8 -in privkey.pem -inform PEM -nocrypt -outform DER -out privkey.der - -Extract the public key, fur publishing. - $ openssl rsa -in privkey.pem -out pubkey.der -pubout -outform DER \ No newline at end of file