-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change github workflow to publish to jfrog instead of bintray
- Loading branch information
1 parent
0de4b2a
commit f874c11
Showing
8 changed files
with
37 additions
and
69 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
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
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,6 +1,6 @@ | ||
group=io.tehuti | ||
archivesBaseName=tehuti | ||
version=0.8.9 | ||
version=0.9.0 | ||
|
||
signing.enabled=false | ||
signing.keyId= | ||
|
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
result=${PWD##*/} | ||
if [[ "$result" = "scripts" ]] | ||
then | ||
echo "script must be run from root project folder, not $PWD" | ||
exit 1 | ||
else | ||
echo "we are in $PWD and tag is $TRAVIS_TAG" | ||
|
||
if [[ $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] | ||
then | ||
echo "tag $TRAVIS_TAG looks like a semver so proceeding with jfrog publish" | ||
git status | ||
git describe --tags | ||
./gradlew publishAllPublicationsToLinkedInJfrogRepository | ||
else | ||
echo "tag $TRAVIS_TAG is NOT a valid semantic version (x.y.z) so not publishing to jfrog" | ||
fi | ||
fi |