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 ca8db22639
commit 1a2e46f09b
2 changed files with 12 additions and 2 deletions

5
.gitattributes vendored
View File

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

View File

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