mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-22 08:32:11 +00:00
6e8f10f919
- Move non-CI scripts to "scripts" - Use lowercase variables consistently - Work with relative paths - Work with environment - Parametrize Xcode build/version number (move uniq last)
13 lines
230 B
Bash
Executable File
13 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
cwd=`dirname $0`
|
|
source $cwd/env.sh
|
|
cd $cwd/..
|
|
|
|
rm -rf $api_path
|
|
git clone $api_git --depth 1 $api_path
|
|
|
|
rm -rf $api_package_path
|
|
mkdir -p $api_package_path
|
|
mv $api_path/$api_version $api_package_path
|
|
rm -rf $api_path
|