diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index aadb67f..d7c58f1 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -27,4 +27,5 @@ jobs: BINTRAY_USER: ${{ secrets.BINTRAY_USER }} BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} LIBRARY_VERSION: ${{ steps.get_version.outputs.VERSION }} + LIBRARY_VERSION_DESC: ${{ toJson(github.event.release.body) }} run: ./gradlew clean install bintrayUpload --stacktrace diff --git a/sher-gil/upload.gradle b/sher-gil/upload.gradle index 82170c8..b0de5a9 100644 --- a/sher-gil/upload.gradle +++ b/sher-gil/upload.gradle @@ -11,11 +11,13 @@ ext { desc = 'Media picker library in kotlin for Android' githubUrl = 'https://github.com/kinnerapriyap/sher-gil' + issueTrackerUrl = 'https://github.com/kinnerapriyap/sher-gil/issues' gitUrl = 'https://github.com/kinnerapriyap/sher-gil.git' developerName = 'Kinnera Priya' libVersion = System.getenv('LIBRARY_VERSION') + libDesc = System.getenv('LIBRARY_VERSION_DESC') } group = publishedGroupId @@ -85,21 +87,23 @@ bintray { user = System.getenv('BINTRAY_USER') key = System.getenv('BINTRAY_API_KEY') configurations = ['archives'] + publish = true pkg { repo = bintrayRepo name = repoName + desc = desc userOrg = user licenses = ['Apache-2.0'] vcsUrl = gitUrl websiteUrl = githubUrl + issueTrackerUrl = issueTrackerUrl githubRepo = 'kinnerapriyap/sher-gil' githubReleaseNotesFile = 'README.md' - publish = true - version { name = libVersion + desc = libDesc released = new Date() vcsTag = libVersion }