File tree 4 files changed +4
-4
lines changed
build/ansible/group_vars/all
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ RUN set -eux \
268
268
\
269
269
\
270
270
# -------------------- drupalconsole --------------------
271
- && DURL="https://github.com $(curl -sS ' https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal .phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g' )" \
271
+ && DURL="$(curl -s https://api. github.com/repos/ hechoendrupal/drupal-console-launcher/releases/latest | awk -F \" '/download.* .phar/{print $(NF-1)}' | head -1 )" \
272
272
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
273
273
&& chmod +x /usr/local/bin/drupal \
274
274
\
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ RUN set -eux \
269
269
\
270
270
\
271
271
# -------------------- drupalconsole --------------------
272
- && DURL="https://github.com $(curl -sS ' https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal .phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g' )" \
272
+ && DURL="$(curl -s https://api. github.com/repos/ hechoendrupal/drupal-console-launcher/releases/latest | awk -F \" '/download.* .phar/{print $(NF-1)}' | head -1 )" \
273
273
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
274
274
&& chmod +x /usr/local/bin/drupal \
275
275
\
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ RUN set -eux \
269
269
\
270
270
\
271
271
# -------------------- drupalconsole --------------------
272
- && DURL="https://github.com $(curl -sS ' https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal .phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g' )" \
272
+ && DURL="$(curl -s https://api. github.com/repos/ hechoendrupal/drupal-console-launcher/releases/latest | awk -F \" '/download.* .phar/{print $(NF-1)}' | head -1 )" \
273
273
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
274
274
&& chmod +x /usr/local/bin/drupal \
275
275
\
Original file line number Diff line number Diff line change @@ -993,7 +993,7 @@ software_available:
993
993
7.1 :
994
994
pre : DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar"
995
995
all :
996
- pre : DURL="https://github.com $(curl -sS ' https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal .phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g' )"
996
+ pre : DURL="$(curl -s https://api. github.com/repos/ hechoendrupal/drupal-console-launcher/releases/latest | awk -F\" '/download.* .phar/{print $(NF-1)}' | head -1 )"
997
997
command : curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal
998
998
post : chmod +x /usr/local/bin/drupal
999
999
gitflow :
You can’t perform that action at this time.
0 commit comments