File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ workflows:
44 default :
55 jobs :
66 - build
7- - release
7+ - release :
8+ filters :
9+ tags :
10+ only : /v.*/
811jobs :
912 build :
1013 working_directory : ~/code
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
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ publishing {
5252bintray {
5353 user = mapboxBintrayUser
5454 key = mapboxBintrayApiKey
55- publications = [ ' MapboxJavaSDKPublication' ]
55+ publications( ' MapboxJavaSDKPublication' )
5656 pkg {
5757 repo = project. ext. mapboxBintrayRepoName
5858 name = project. ext. mapboxArtifactId
You can’t perform that action at this time.
0 commit comments