Skip to content

Commit

Permalink
Make publishing local for simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
realeyes-mike-patterson committed Jan 16, 2021
1 parent 9c23d70 commit 568621f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 24 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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 {
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
appVersion=1.0.1
projectVersion=1.0.0

0 comments on commit 568621f

Please sign in to comment.