Skip to content

Commit

Permalink
fix: using dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Dec 14, 2023
1 parent c7e768a commit d6fea05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cartridges-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ jobs:
cd adyen-salesforce-commerce-cloud/cartridges
for name in "int_adyen_overlay" "int_adyen_SFRA" "bm_adyen"; do
version=$(grep -oP "VERSION:\s*'(\d+\.\d+\.\d+)'" int_adyen_overlay/cartridge/adyenConstants/constants.js | cut -d "'" -f 2)
version="v${version}"
echo -e "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<projectDescription>
<name>${name}</name>
<comment>v23.3.1</comment>
<comment>${version}</comment>
<projects></projects>
<buildSpec>
<buildCommand>
Expand Down

0 comments on commit d6fea05

Please sign in to comment.