Skip to content

Commit 964c464

Browse files
committed
fix: stop copying pantheon.upstream.yml, just create/append search config to pantheon.yml
1 parent c0d6113 commit 964c464

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/scripts/solr9-setup-multidev.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ rm -rf modules/pantheon/pantheon_apachesolr
3434
cp -r "$GITHUB_WORKSPACE/modules/pantheon/pantheon_apachesolr" modules/pantheon/pantheon_apachesolr
3535

3636
step "Setting search version to 9 in pantheon.yml"
37-
if [ -f pantheon.upstream.yml ]; then
38-
cp pantheon.upstream.yml pantheon.yml
39-
fi
40-
if grep -q "^search:" pantheon.yml 2>/dev/null; then
37+
touch pantheon.yml
38+
if grep -q "^search:" pantheon.yml; then
4139
sed -i "s/^\([[:space:]]*\)version: [0-9]*/\1version: 9/" pantheon.yml
4240
else
4341
echo "search:" >> pantheon.yml

0 commit comments

Comments
 (0)