Skip to content

Commit

Permalink
Update pipelines.release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed May 25, 2022
1 parent e00db37 commit f540065
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions release/pipelines.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,14 @@ pipelines:
- sed -i "s/\(version=\).*\$/\1${NEXT_VERSION}/" gradle.properties
- git commit -am "[artifactory-release] Release version ${NEXT_VERSION} [skipRun]" --allow-empty
- git tag ${NEXT_VERSION}
- git push
- git push --tags

# Run build and publish
- >
env -i PATH=$PATH HOME=$HOME
JFROG_CLI_BUILD_NAME=$JFROG_CLI_BUILD_NAME
JFROG_CLI_BUILD_NUMBER=$JFROG_CLI_BUILD_NUMBER
JFROG_CLI_BUILD_PROJECT=$JFROG_CLI_BUILD_PROJECT
jf gradle clean build -x test artifactoryPublish
jf gradle clean build artifactoryPublish -x test -x functionalTest
- jf rt bag && jf rt bce
- jf rt bp

Expand All @@ -75,4 +73,7 @@ pipelines:
# Update next development version
- sed -i "s/\(version=\).*\$/\1${NEXT_DEVELOPMENT_VERSION}/" gradle.properties
- git commit -am "[artifactory-release] Next development version [skipRun]"

# Push changes
- git push
- git push --tags

0 comments on commit f540065

Please sign in to comment.