Skip to content
This repository was archived by the owner on Jan 6, 2018. It is now read-only.

Commit 70192a8

Browse files
committed
Update
1 parent c5b6f82 commit 70192a8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Generates general purpose [docker-compose.yml](https://docs.docker.com/compose/y
1414
TMP="$(mktemp -d)" \
1515
&& git clone https://github.com/dockerizedrupal/drupal-compose.git "${TMP}" \
1616
&& cd "${TMP}" \
17-
&& git checkout 1.0.3 \
17+
&& git checkout 1.0.4 \
1818
&& sudo cp "${TMP}/drupal-compose.sh" /usr/local/bin/drupal-compose \
1919
&& sudo chmod +x /usr/local/bin/drupal-compose \
2020
&& cd -

drupal-compose.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
#!/usr/bin/env bash
22

3+
VERSION="1.0.4"
4+
35
WORKING_DIR="$(pwd)"
46

57
help() {
68
cat << EOF
7-
Version: 1.0.3
9+
Version: ${VERSION}
810
911
Usage: drupal-compose
1012
@@ -66,6 +68,7 @@ drupal_8_docker_compose_template() {
6668
local PROJECT_NAME="${1}"
6769

6870
cat <<EOF
71+
# Configuration generated with Drupal Compose version ${VERSION}
6972
apache:
7073
extends:
7174
file: host.yml
@@ -178,6 +181,7 @@ drupal_7_docker_compose_template() {
178181
local PROJECT_NAME="${1}"
179182

180183
cat <<EOF
184+
# Configuration generated with Drupal Compose version ${VERSION}
181185
apache:
182186
extends:
183187
file: host.yml
@@ -290,6 +294,7 @@ drupal_6_docker_compose_template() {
290294
local PROJECT_NAME="${1}"
291295

292296
cat <<EOF
297+
# Configuration generated with Drupal Compose version ${VERSION}
293298
apache:
294299
extends:
295300
file: host.yml
@@ -403,6 +408,7 @@ host_docker_compose_template() {
403408
local GROUP_ID="$(id -g)"
404409

405410
cat <<EOF
411+
# Configuration generated with Drupal Compose version ${VERSION}
406412
apache:
407413
environment:
408414
- USER_ID=${USER_ID}

0 commit comments

Comments
 (0)