Skip to content

Commit

Permalink
try more generic utils
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-jaksov-tl committed Oct 1, 2024
1 parent ec1518f commit c09a96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:

- name: Compare version
run: |
[[ "v$(xmlstarlet sel -t -v '//config/default/payment/truelayer/version' ./etc/config.xml)" == $(git describe --tags --abbrev=0 | tr -d '\n') ]]
[[ "v$(cat ./etc/config.xml | grep \<version\> | sed -e 's/<version>\(.*\)<\/version>/\1/' | tr -d '[:blank:]')" == $(git describe --tags --abbrev=0 | tr -d '\n') ]]

0 comments on commit c09a96a

Please sign in to comment.