Skip to content

Automate setting the gradle-plugin attribute on the Bintray package during release promotion #14447

@wilkinsona

Description

@wilkinsona

We can do it with curl. Something like this:

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://bintray.com/api/v1/packages/${BINTRAY_SUBJECT}/${BINTRAY_REPO}/org.springframework.boot/versions/${version}/attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions