Skip to content

Commit f268626

Browse files
committed
add possibility to store jar artifact
1 parent e5d389c commit f268626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Setup PR version
7676
if: contains(github.ref, '/pull/')
7777
run: |
78-
NEW_VERSION="${MAJOR}.${MINOR}.${PATCH}-PR-$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')"
78+
NEW_VERSION="${MAJOR}.${MINOR}.${PATCH}-PR-$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')-SNAPSHOT"
7979
echo "NEW_VERSION=${NEW_VERSION}" >> $GITHUB_ENV
8080
8181
- name: Setup docker tag version
@@ -122,4 +122,4 @@ jobs:
122122

123123
- name: Upload PR Artifacts to Repo
124124
if: "contains(github.ref, '/pull/') && (contains(env.NEW_VERSION, 'SNAPSHOT') || contains(env.NEW_VERSION, '-PR-'))"
125-
run: mvn -B clean deploy -Dmaven.test.skip=true -DaltDeploymentRepository=backbase::default::https://repo.backbase.com/backbase-mvn-snapshot
125+
run: mvn -B clean deploy -Dmaven.test.skip=true -DaltDeploymentRepository=backbase::default::https://repo.backbase.com/backbase-mvn-snapshot

0 commit comments

Comments
 (0)