Skip to content

Commit

Permalink
gradle tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
langsmith committed Sep 25, 2019
1 parent f594504 commit 38c2302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ workflows:
default:
jobs:
- build
- release
- release:
filters:
tags:
only: /v.*/
jobs:
build:
working_directory: ~/code
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
name: Update version name
command: |
if [[ $CIRCLE_TAG == v* ]]; then
sed -i -e "s/^VERSION_NAME=.*/VERSION_NAME=${CIRCLE_TAG:9}/" gradle.properties
sed -i -e "s/^VERSION_NAME=.*/VERSION_NAME=${CIRCLE_TAG:1}/" gradle.properties
fi
- run:
name: Build Java libraries
Expand Down
2 changes: 1 addition & 1 deletion gradle/gradle-bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ publishing {
bintray {
user = mapboxBintrayUser
key = mapboxBintrayApiKey
publications = ['MapboxJavaSDKPublication']
publications('MapboxJavaSDKPublication')
pkg {
repo = project.ext.mapboxBintrayRepoName
name = project.ext.mapboxArtifactId
Expand Down

0 comments on commit 38c2302

Please sign in to comment.