Skip to content

Commit

Permalink
Fix JFrog ENV vars
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 14, 2023
1 parent 0f2ac19 commit 8d19ddc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,18 @@ jobs:
--use-wrapper \
--repo-deploy libs-staging-local
echo buildName=${{ github.event.repository.name }}-${{ inputs.releaseVersion }} >> $GITHUB_OUTPUT
echo buildNumber=$GITHUB_RUN_NUMBER >> $GITHUB_OUTPUT
echo JFROG_CLI_BUILD_NAME=${{ github.event.repository.name }}-${{ inputs.releaseVersion }} >> $GITHUB_ENV
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
echo buildName=$JFROG_CLI_BUILD_NAME >> $GITHUB_OUTPUT
echo buildNumber=$JFROG_CLI_BUILD_NUMBER >> $GITHUB_OUTPUT
- name: Set Release Version
run: sed -i "s/version=.*/version=${{ inputs.releaseVersion }}/" gradle.properties

- name: Build and Publish
run: |
jf gradle clean build ${{ inputs.gradleTasks }} artifactoryPublish
jf rt build-publish ${{ steps.configure-jfrog.outputs.buildName }} ${{ steps.configure-jfrog.outputs.buildNumber }}
jf rt build-publish
- name: Tag Release and Next Development Version
run: |
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=3.0.5-SNAPSHOT
version=3.0.4-SNAPSHOT
org.gradle.caching=true
org.gradle.parallel=true

0 comments on commit 8d19ddc

Please sign in to comment.