This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch STABLE-4.2
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/STABLE-4.2 by this push:
     new 44f6ca7c8 Enable GitHub actions
44f6ca7c8 is described below

commit 44f6ca7c8efe767db983601a1229a78a9f0c8f4f
Author: Nikita Timofeev <stari...@gmail.com>
AuthorDate: Tue Nov 15 13:08:14 2022 +0300

    Enable GitHub actions
---
 .github/actions/export-pom-version/bash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/export-pom-version/bash.sh 
b/.github/actions/export-pom-version/bash.sh
index 1ed9a6bee..49f8dc892 100644
--- a/.github/actions/export-pom-version/bash.sh
+++ b/.github/actions/export-pom-version/bash.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 function get_pom_version {
-  awk -F '<[^>]*>' '/<dependencies>/,/<\/dependencies>/{next} 
/<plugins>/,/<\/plugins>/{next} /<version>/ {$1=$1; gsub(/ /,"") $0; print}' 
pom.xml
+  awk -F '<[^>]*>' '/<extensions>/,/<\/extensions>/{next} 
/<dependencies>/,/<\/dependencies>/{next} /<plugins>/,/<\/plugins>/{next} 
/<version>/ {$1=$1; gsub(/ /,"") $0; print}' pom.xml
 }
 
 VERSION=$(get_pom_version)

Reply via email to