Configure Dr Elephant to publish artifacts to Jfrog Bintray#680
Configure Dr Elephant to publish artifacts to Jfrog Bintray#680saniyanajeeb wants to merge 5 commits intolinkedin:tuning_20190221from
Conversation
|
Add a document on how to publish and release the latest version of Dr.Elephant to Bintray which is the aim for this PR. |
|
Document on how to publish and release the latest version of Dr.Elephant to Bintray: |
| @@ -1,6 +1,13 @@ | |||
| /* | |||
There was a problem hiding this comment.
The piwik.js file was being overwritten to this location (track.js) by Dr Elephant MP wrapper. Since the wrapper will be deprecated so adding this file as part of Dr Elephant source code itself.
build.sh
Outdated
| cd dist/ | ||
|
|
||
| echo "Uploading the distribution to bintray" | ||
| curl -T $MODULE-"$VERSION".zip -u"$1":"$2" https://api.bintray.com/content/linkedin/maven/dr-elephant/"$VERSION"/com/linkedin/drelephant/$MODULE/"$VERSION"/ --verbose |
There was a problem hiding this comment.
As discussed, $1 and $2 are the username and API key for publishing to Bintray, try to declare them in the Environment variables and use them here, so user not need to provide this information every time they execute this script.
There was a problem hiding this comment.
The PR has been updated to get the values of username and API key from environment variables.
|
Configuring Dr Elephant to publish artifacts to Jfrog Bintray using sbt-bintray plugin.
Usage instructions how to publish and release the latest version of Dr.Elephant to Bintray:
https://docs.google.com/document/d/1gVHm58ncLYT2YQfZtAxJ5jXGGCc-5GKJKlmnwEP5LvA/edit?usp=sharing