Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from Kevin-Lee/upgrade-sbt
Upgraded: sbt 1.3.13 => 1.4.3
- Loading branch information
Showing
5 changed files
with
142 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash -e | ||
|
||
if [ "${GITHUB_TAG:-}" != "" ]; then | ||
|
||
: ${BINTRAY_USER:?"BINTRAY_USER is missing."} | ||
: ${BINTRAY_PASS:?"BINTRAY_PASS is missing."} | ||
|
||
PROJECT_VERSION="${GITHUB_TAG#v}" | ||
BINTRAY_SUBJECT=${BINTRAY_SUBJECT:-kevinlee} | ||
BINTRAY_REPO=${BINTRAY_REPO:-maven} | ||
|
||
echo "PROJECT_VERSION: $PROJECT_VERSION" | ||
echo "BINTRAY_SUBJECT: $BINTRAY_SUBJECT" | ||
echo " BINTRAY_REPO: $BINTRAY_REPO" | ||
BINTRAY_PACKAGES="just-fp-core" | ||
for bintray_package in $BINTRAY_PACKAGES | ||
do | ||
echo "" | ||
echo "bintray_package: $bintray_package - Sync to Maven Central..." | ||
curl \ | ||
--user "$BINTRAY_USER:$BINTRAY_PASS" \ | ||
-X POST \ | ||
-H "Content-Type: application/json" \ | ||
"https://api.bintray.com/maven_central_sync/$BINTRAY_SUBJECT/$BINTRAY_REPO/$bintray_package/versions/$PROJECT_VERSION" | ||
|
||
sleep 10s | ||
done | ||
else | ||
echo "It's not a tag release so 'Sync to Maven Central' has been skipped." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.4.2 | ||
sbt.version=1.4.3 |