Skip to content

Commit c114a71

Browse files
authored
Merge pull request #791 from dev-hato/massongit-patch-1
開発環境でdocker-composeを実行する際にブランチをTAG_NAMEとして指定する
2 parents e43c04f + 4ee68e1 commit c114a71

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565

6666
```sh
6767
cd ./setup
68+
TAG_NAME=$(git symbolic-ref --short HEAD | sed -e "s:/:-:g")
6869
docker-compose up -d
6970
cd ..
7071
```
@@ -73,6 +74,7 @@
7374

7475
```sh
7576
cd ./setup
77+
TAG_NAME=$(git symbolic-ref --short HEAD | sed -e "s:/:-:g")
7678
docker-compose restart
7779
```
7880

0 commit comments

Comments
 (0)