Skip to content

Commit

Permalink
feat: add gtmq_ prefix along with staging (IN-1722) (#301)
Browse files Browse the repository at this point in the history
* feat: replace staging with gtmq_ prefix

* fix: keep staging in during transition. remove when no repo uses bors

---------

Co-authored-by: Greg O'Grady <[email protected]>
  • Loading branch information
theProf and Greg O'Grady authored Oct 28, 2024
1 parent 266d36f commit 1b31a0c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/scripts/monorepo/exec_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ jq -rc '.workspaces[]' package.json | while read -r i; do
# The find command add the ./ We dont need it. This command removes it by removing the first 2 characters.
package="${f:2}"
echo "Checking package $package"
if [[ $FILES_CHANGED == *"$package"* || " master production staging trying " =~ .*\ $CIRCLE_BRANCH\ .* || -n "$CIRCLE_TAG" ]] || (( FORCE_EXECUTION )); then
if [[
$FILES_CHANGED == *"$package"*
|| "${CIRCLE_BRANCH}" =~ ^(master|production|trying|staging|gtmq_.*)$
|| -n "$CIRCLE_TAG"
]] || (( FORCE_EXECUTION )); then
# Work only on folders that are real packages
if [[ -d $f ]]; then
(
Expand All @@ -25,4 +29,4 @@ jq -rc '.workspaces[]' package.json | while read -r i; do
fi
fi
done
done
done

0 comments on commit 1b31a0c

Please sign in to comment.