Skip to content

Commit 7653212

Browse files
committed
chore: version release
1 parent 0dea4b8 commit 7653212

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
deploy-prod:
7676
runs-on: ubuntu-latest
77-
if: startsWith(github.event.head_commit.message, 'chore') && endsWith(github.event.head_commit.message, 'version release')
77+
if: contains(github.event.workflow_run.head_commit.message, 'version release')
7878
needs: [ build ]
7979
steps:
8080
- uses: actions/download-artifact@v3
@@ -101,7 +101,7 @@ jobs:
101101
ProxyJump bastion
102102
103103
- name: Check if artifact exists
104-
run: ssh learnweb test -f "${{ secrets.DEPLOY_PATH }}/ROOT##${{ needs.build.outputs.version }}.war" && exit 1
104+
run: '! ssh learnweb test -f '${{ secrets.DEPLOY_PATH }}/ROOT##${{ needs.build.outputs.version }}.war' || false"
105105

106106
- name: Copy artifact to server
107107
run: rsync -avzh --ignore-existing ROOT##*.war learnweb:${{ secrets.DEPLOY_PATH }}/

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>de.l3s</groupId>
88
<artifactId>learnweb</artifactId>
99
<!-- Because Tomcat treats version as String, we need to use zero paddings to make sure v10 is newer than v9 -->
10-
<version>3.21.01</version>
10+
<version>3.22.00</version>
1111
<packaging>war</packaging>
1212

1313
<name>Learnweb</name>

0 commit comments

Comments
 (0)