diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e6ee2c..cbf2b2b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,23 +28,3 @@ jobs: release_name: ${{ env.RELEASE_NAME }} draft: false prerelease: false - - publish: - name: Publish Build - runs-on: ubuntu-latest - needs: release - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Configure JDK - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - - name: Publish library - env: - bintrayUser: ${{ secrets.BINTRAY_USER }} - bintrayApiKey: ${{ secrets.BINTRAY_API_KEY }} - run: ./gradlew bintrayUpload diff --git a/build.gradle b/build.gradle index c64d2c1..403c64d 100644 --- a/build.gradle +++ b/build.gradle @@ -93,7 +93,7 @@ publishing { } groupId 'com.realeyes.scte35' artifactId 'scte35' - version project.version + version projectVersion pom.withXml { def root = asNode() root.appendNode('description', 'Android SCTE-35 Parser Library') @@ -106,8 +106,8 @@ publishing { } bintray { - user = System.getenv("bintrayUser") - key = System.getenv("bintrayApiKey") + user = System.getProperty("bintray.user") + key = System.getProperty("bintray.key") publications = ['mavenPublication'] pkg { @@ -116,6 +116,11 @@ bintray { userOrg = 'realeyes-mike-patterson' licenses = ['MIT'] vcsUrl = 'https://github.com/realeyes-media/scte35-kotlin' + version { + name = projectVersion + desc = projectVersion + released = new Date() + } } publish true diff --git a/gradle.properties b/gradle.properties index 1c69588..c7dbab2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -appVersion=1.0.1 +projectVersion=1.0.0