Ignore cypress in git-export + install composer deps on release

This commit is contained in:
slawkens 2023-06-02 08:04:13 +02:00
parent f34e5f2ac0
commit 52ac011556
2 changed files with 12 additions and 2 deletions

5
.gitattributes vendored
View File

@ -6,4 +6,9 @@
_config.yml export-ignore
release.sh export-ignore
# cypress
cypress export-ignore
cypress.config.js export-ignore
cypress.env.json
*.sh text eol=lf

View File

@ -22,7 +22,7 @@ if [ $1 = "prepare" ]; then
mkdir -p tmp
# get myaac from git archive
git archive --format zip --output tmp/myaac.zip master
git archive --format zip --output tmp/myaac.zip 0.9
cd tmp/ || exit
@ -35,6 +35,11 @@ if [ $1 = "prepare" ]; then
unzip -q myaac.zip -d $dir
rm myaac.zip
cd $dir || exit
# dependencies
composer install
echo "Now you can make changes to $dir. When you are ready, type 'release.sh pack'"
exit
fi