Skip to content

Commit ffe844d

Browse files
authored
Fix build failure when releasing new version (#147)
1 parent 2da6e46 commit ffe844d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-deploy-app.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ on:
1313
jobs:
1414
build-push:
1515
name: Build and push to registries
16-
# If triggering event is release, the commits on 'master' should build
17-
# the image
16+
# When releasing, the Maven release plugin will create two commits -
17+
# we only want this job to run once, so we exclude one of the commits.
18+
if: ! contains(${{ github.event.head_commit.message }}, "prepare for next development iteration")
1819
runs-on: ubuntu-latest
1920
permissions:
2021
contents: read

0 commit comments

Comments
 (0)