Skip to content

Commit

Permalink
fix: install failing due to mismatch version (#17870)
Browse files Browse the repository at this point in the history
CXSPA-4403

Spartacus_version specified in install config file now overwrites publishing_version.
  • Loading branch information
FollowTheFlo authored Sep 25, 2023
1 parent 6d2251f commit ae83fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function update_projects_versions {
fi

printh "Updating all library versions to ${SPARTACUS_VERSION}"
(cd "${CLONE_DIR}/tools/config" && pwd && sed -i -E 's/PUBLISHING_VERSION = '\'\''/PUBLISHING_VERSION = '\'"${SPARTACUS_VERSION}"\''/g' const.ts);
(cd "${CLONE_DIR}/tools/config" && pwd && sed -i -E 's/PUBLISHING_VERSION = '\'.*\''/PUBLISHING_VERSION = '\'"${SPARTACUS_VERSION}"\''/g' const.ts);
(cd "${CLONE_DIR}" && pwd && npm run config:update -- --generate-deps);

}
Expand Down

0 comments on commit ae83fd2

Please sign in to comment.