GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — - add support for bintray releasing · max2max4u/AboutLibraries@db28c82

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
  • gradle-release.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,19 @@ jobs:
7272
if: startsWith(github.ref, 'refs/tags/')
7373
run: ./gradlew app:assembleStaging app:assembleRelease app:bundleRelease
7474

75+
- name: Relase bintray
76+
if: startsWith(github.ref, 'refs/tags/')
77+
run: |
78+
./gradlew library-core:bintrayUpload -Plibrary_core_only
79+
./gradlew library:bintrayUpload -x test -x lint -Plibrary_only
80+
./gradlew library-definitions:bintrayUpload -x test -x lint -Plibrary_definitions_only
81+
env:
82+
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
83+
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
84+
BINTRAY_GPG_PASS: ${{ secrets.BINTRAY_GPG_PASS }}
85+
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
86+
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
87+
7588
- name: Collect artifacts
7689
run: |
7790
COLLECT_PWD=${PWD}
Collapse file

‎gradle-release.gradle‎

Copy file name to clipboardExpand all lines: gradle-release.gradle
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ def isReleaseBuild() {
55

66
@SuppressWarnings("GroovyUnusedDeclaration")
77
def getRepositoryUsername() {
8-
return hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ""
8+
return hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : System.getenv('NEXUS_USERNAME')
99
}
1010

1111
@SuppressWarnings("GroovyUnusedDeclaration")
1212
def getRepositoryPassword() {
13-
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
13+
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : System.getenv('NEXUS_PASSWORD')
1414
}
1515

1616
apply plugin: "com.jfrog.bintray"

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.