Browse Source

Se agregó el composer-update.sh

Gabriel Gosparo 7 years ago
parent
commit
8db43a0149
1 changed files with 8 additions and 0 deletions
  1. 8 0
      bin/composer-update.sh

+ 8 - 0
bin/composer-update.sh

@@ -0,0 +1,8 @@
+#!/bin/bash
+chmod 0400 keys/*
+eval $(ssh-agent)
+ssh-add keys/bitbucket.id_rsa
+composer update --prefer-dist --no-plugins --no-autoloader --no-scripts --no-progress --no-suggest --with-dependencies --ignore-platform-reqs --prefer-lowest -n
+
+kill $SSH_AGENT_PID
+unset SSH_AGENT_PID