Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Public Resources
Lando Magento2 Template
Commits
4733f31e
Commit
4733f31e
authored
6 years ago
by
Tyler Mills
Browse files
Options
Download
Email Patches
Plain Diff
Fix magento download comment bug
parent
c0596d8f
master
dependabot/npm_and_yarn/dot-init.project.tmp/marked-4.0.10
dependabot/npm_and_yarn/dot-init.project.tmp/minimist-1.2.6
ignore-node-modules
magento-setup-improvements
2.0.0
1.1.0
1.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dev/lando/tooling/magento.download.sh
+8
-8
dev/lando/tooling/magento.download.sh
with
8 additions
and
8 deletions
+8
-8
dev/lando/tooling/magento.download.sh
+
8
-
8
View file @
4733f31e
#!/usr/bin/env bash
# Download latest Magento 2
#
wget $(curl -s https://api.github.com/repos/magento/magento2/releases/latest | grep zipball_url | cut -d '"' -f 4) -O magento_latest.zip
#
#
# Unzip Magento & copy to /app
#
unzip magento_latest.zip -d /tmp/magento-extract
#
cp --verbose -R /tmp/magento-extract/magento*/. /app
#
#
# Init auth.json
#
rm magento_latest.zip && cp auth.json.sample auth.json
wget
$(
curl
-s
https://api.github.com/repos/magento/magento2/releases/latest |
grep
zipball_url |
cut
-d
'"'
-f
4
)
-O
magento_latest.zip
# Unzip Magento & copy to /app
unzip magento_latest.zip
-d
/tmp/magento-extract
cp
--verbose
-R
/tmp/magento-extract/magento
*
/. /app
# Init auth.json
rm
magento_latest.zip
&&
cp
auth.json.sample auth.json
# Provide next step instructions
echo
""
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets