Skip to content

Commit 38c2302

Browse files
committed
gradle tweaks
1 parent f594504 commit 38c2302

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

circle.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ workflows:
44
default:
55
jobs:
66
- build
7-
- release
7+
- release:
8+
filters:
9+
tags:
10+
only: /v.*/
811
jobs:
912
build:
1013
working_directory: ~/code
@@ -67,7 +70,7 @@ jobs:
6770
name: Update version name
6871
command: |
6972
if [[ $CIRCLE_TAG == v* ]]; then
70-
sed -i -e "s/^VERSION_NAME=.*/VERSION_NAME=${CIRCLE_TAG:9}/" gradle.properties
73+
sed -i -e "s/^VERSION_NAME=.*/VERSION_NAME=${CIRCLE_TAG:1}/" gradle.properties
7174
fi
7275
- run:
7376
name: Build Java libraries

gradle/gradle-bintray.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ publishing {
5252
bintray {
5353
user = mapboxBintrayUser
5454
key = mapboxBintrayApiKey
55-
publications = ['MapboxJavaSDKPublication']
55+
publications('MapboxJavaSDKPublication')
5656
pkg {
5757
repo = project.ext.mapboxBintrayRepoName
5858
name = project.ext.mapboxArtifactId

0 commit comments

Comments
 (0)