mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
[bug] script mount-webpack.sh was not updating the docker-compose.yml file
This commit is contained in:
parent
d68b4c4c7c
commit
4e64e10b1f
@ -1,5 +1,7 @@
|
|||||||
# Changelog Fab-manager
|
# Changelog Fab-manager
|
||||||
|
|
||||||
|
- Fix a bug: script mount-webpack.sh was not updating the docker-compose.yml file
|
||||||
|
|
||||||
## v4.6.0 2020 October 20
|
## v4.6.0 2020 October 20
|
||||||
|
|
||||||
- Migrated the assets build pipeline from Sprockets to Webpack
|
- Migrated the assets build pipeline from Sprockets to Webpack
|
||||||
|
@ -29,7 +29,7 @@ change_mount()
|
|||||||
for i in $(seq 0 $maxVol); do
|
for i in $(seq 0 $maxVol); do
|
||||||
yq r docker-compose.yml "services.$SERVICE.volumes.[$i]" | grep assets
|
yq r docker-compose.yml "services.$SERVICE.volumes.[$i]" | grep assets
|
||||||
if [[ $? = 0 ]]; then
|
if [[ $? = 0 ]]; then
|
||||||
yq w docker-compose.yml "services.$SERVICE.volumes.[$i]" "\${PWD}/public/packs:/usr/src/app/public/packs"
|
yq w -i docker-compose.yml "services.$SERVICE.volumes.[$i]" "\${PWD}/public/packs:/usr/src/app/public/packs"
|
||||||
echo "Volume #$i was replaced for $SERVICE: /assets changed to /packs"
|
echo "Volume #$i was replaced for $SERVICE: /assets changed to /packs"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user