mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
"Zeit-now" CLI to "zeit-vercel" CLI (#947)
* Zeit Now has been replaced to Zeit Vercel * Checking the [now] command has been added * zeit-now -> zeit-vercel * zeit--Now has been renamed to zeit-vercel in Ubuntu temlates
This commit is contained in:
@@ -7,16 +7,25 @@
|
|||||||
# Source the helpers for use with the script
|
# Source the helpers for use with the script
|
||||||
source $HELPER_SCRIPTS/document.sh
|
source $HELPER_SCRIPTS/document.sh
|
||||||
|
|
||||||
# Install the Zeit Now CLI
|
# Install the Zeit Vercel CLI
|
||||||
npm i -g now
|
npm i -g vercel
|
||||||
|
|
||||||
# Validate the installation
|
# Validate the installation
|
||||||
echo "Validate the installation"
|
echo "Validate the installation"
|
||||||
|
if ! command -v vercel; then
|
||||||
|
echo "Zeit Vercel CLI was not installed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Creating the symlink now to vercel"
|
||||||
|
ln -s /usr/local/bin/vercel /usr/local/bin/now
|
||||||
|
|
||||||
|
echo "Validate the link"
|
||||||
if ! command -v now; then
|
if ! command -v now; then
|
||||||
echo "Zeit Now CLI was not installed"
|
echo "Now link to Zeit Vercel CLI was not created"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Document the installed version
|
# Document the installed version
|
||||||
echo "Document the installed version"
|
echo "Document the installed version"
|
||||||
DocumentInstalledItem "Zeit Now CLI ($(now --version))"
|
DocumentInstalledItem "Zeit Vercel CLI ($(vercel --version))"
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/terraform.sh",
|
"{{template_dir}}/scripts/installers/terraform.sh",
|
||||||
"{{template_dir}}/scripts/installers/packer.sh",
|
"{{template_dir}}/scripts/installers/packer.sh",
|
||||||
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
||||||
"{{template_dir}}/scripts/installers/zeit-now.sh",
|
"{{template_dir}}/scripts/installers/zeit-vercel.sh",
|
||||||
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
||||||
"{{template_dir}}/scripts/installers/mongodb.sh",
|
"{{template_dir}}/scripts/installers/mongodb.sh",
|
||||||
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
||||||
|
|||||||
@@ -233,7 +233,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/terraform.sh",
|
"{{template_dir}}/scripts/installers/terraform.sh",
|
||||||
"{{template_dir}}/scripts/installers/packer.sh",
|
"{{template_dir}}/scripts/installers/packer.sh",
|
||||||
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
||||||
"{{template_dir}}/scripts/installers/zeit-now.sh",
|
"{{template_dir}}/scripts/installers/zeit-vercel.sh",
|
||||||
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
||||||
"{{template_dir}}/scripts/installers/mongodb.sh",
|
"{{template_dir}}/scripts/installers/mongodb.sh",
|
||||||
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
||||||
|
|||||||
@@ -230,7 +230,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/terraform.sh",
|
"{{template_dir}}/scripts/installers/terraform.sh",
|
||||||
"{{template_dir}}/scripts/installers/packer.sh",
|
"{{template_dir}}/scripts/installers/packer.sh",
|
||||||
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
||||||
"{{template_dir}}/scripts/installers/zeit-now.sh",
|
"{{template_dir}}/scripts/installers/zeit-vercel.sh",
|
||||||
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
||||||
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user