mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Ignore cypress in git-export + install composer deps on release
This commit is contained in:
parent
ca8db22639
commit
1a2e46f09b
5
.gitattributes
vendored
5
.gitattributes
vendored
@ -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
|
||||
|
@ -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
|
||||
@ -62,4 +67,4 @@ if [ $1 = "pack" ]; then
|
||||
echo "Done. Released files can be found in 'releases' directory."
|
||||
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user