Skip to content

Commit aef58c9

Browse files
authored
Fix snapshots builds (#429)
1 parent 760ae63 commit aef58c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-stage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
5757
# Getting previous version
5858
OLD_VERSIONS=$(git show "${COMMIT_REF}:pom.xml" |
59-
sed -n '/<version>/ { s/.*<version>\([^<]*\)<\/version>.*/\1/p; q }')
59+
sed -n '/<revision>/ { s/.*<revision>\([^<]*\)<\/revision>.*/\1/p; q }')
6060
6161
# Getting current version
6262
NEW_VERSIONS=$(sed -n 's/.*<revision>\([^<]*\)<\/revision>.*/\1/p' pom.xml)

0 commit comments

Comments
 (0)