Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
29a43851
Commit
29a43851
authored
Oct 11, 2018
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
01f7805c
042d495d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
promote.sh
ci/scripts/promote.sh
+8
-0
No files found.
ci/scripts/promote.sh
View file @
29a43851
...
@@ -61,6 +61,14 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
...
@@ -61,6 +61,14 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
if
[[
$ARTIFACTS_PUBLISHED
=
"false"
]]
;
then
if
[[
$ARTIFACTS_PUBLISHED
=
"false"
]]
;
then
echo
"Failed to publish"
echo
"Failed to publish"
exit
1
exit
1
else
curl
\
-s
\
-u
${
BINTRAY_USERNAME
}
:
${
BINTRAY_PASSWORD
}
\
-H
"Content-Type: application/json"
\
-d
'[ { "name": "gradle-plugin", "values": ["org.springframework.boot:org.springframework.boot:spring-boot-gradle-plugin"] } ]'
\
-X
POST
\
https://api.bintray.com/packages/
${
BINTRAY_SUBJECT
}
/
${
BINTRAY_REPO
}
/
${
groupId
}
/versions/
${
version
}
/attributes
>
/dev/null
||
{
echo
"Failed to add attributes"
>
&2
;
exit
1
;
}
fi
fi
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment