Skip to content

Commit

Permalink
Pom fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vikulin committed Jun 24, 2024
1 parent d6231c7 commit b3f6d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Extract version from generated POM file
id: extract_version
run: |
xml_file=$(find ~/.m2/repository/org/tdf/ -type f -name "*.pom" -print -quit)
xml_file=$(find ~/.m2/repository -type f -name "*.pom" -print -quit)
VERSION=$(xmlstarlet sel -N xmlns="http://maven.apache.org/POM/4.0.0" -t -v "//xmlns:project/xmlns:version" "$xml_file")
GROUPID=$(xmlstarlet sel -N xmlns="http://maven.apache.org/POM/4.0.0" -t -v "//xmlns:project/xmlns:groupId" "$xml_file" | sed 's/\./\//g')
ARTIFACTID=$(xmlstarlet sel -N xmlns="http://maven.apache.org/POM/4.0.0" -t -v "//xmlns:project/xmlns:artifactId" "$xml_file")
Expand Down

0 comments on commit b3f6d04

Please sign in to comment.