Skip to content

Commit bb380ca

Browse files
authored
Merge pull request #193 from criteo/ms_preview
MS doc branch will be v2026-preview
2 parents 37112b0 + ce756e4 commit bb380ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/update_marketingsolutions_preview_doc.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
run: |
1919
git clone git@github.com:criteo/marketing-solutions-public-api-doc.git
2020
cd marketing-solutions-public-api-doc
21-
# cut: to turn 'remotes/origin/<name>' to '<name>'
22-
# egrep: to keep only pattern vYYYY.MM . ie reject vYYYY.MM.dd and vYYYY.MM_merge_conflict_<sha>
23-
PREVIEW_BRANCH=$(git branch -a | grep origin | cut -d \/ -f3 | grep -E ^v[0-9]{4}\.[0-9]{2}$ | sort | tail -1)
21+
PREVIEW_BRANCH=$(git branch -a | grep preview | cut -d '/' -f3)
2422
git checkout $PREVIEW_BRANCH
2523
OAS_DEST_NAME=criteo-api-1.json
2624
OAS_DEST=reference/"$OAS_DEST_NAME"

0 commit comments

Comments
 (0)