2020-06-18 23:01:57 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-06-05 15:33:17 +02:00
|
|
|
# this file is used by e2e-xx-cli-workflow.yml files
|
|
|
|
|
|
|
|
|
2020-06-18 23:01:57 +02:00
|
|
|
set -e
|
|
|
|
|
2021-06-05 15:33:17 +02:00
|
|
|
# create a temporary folder
|
2020-06-18 23:01:57 +02:00
|
|
|
HERE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
|
|
TEMP_DIR="$(mktemp -d)"
|
|
|
|
|
|
|
|
cd "${TEMP_DIR}"
|
|
|
|
|
|
|
|
echo $TEMP_DIR
|
|
|
|
echo $HERE_DIR
|
|
|
|
|
2021-06-05 15:33:17 +02:00
|
|
|
# set basic git config
|
|
|
|
git config --global user.email "jota@verdaccio.org"
|
|
|
|
git config --global user.name "Juan Picado"
|