passepartout-apple/ci/update-bundled-api.sh
Davide d8f5aed665
Update release notes on bump (#965)
Refine symlink scripts too.
2024-11-29 00:10:22 +01:00

13 lines
265 B
Bash
Executable File

#!/bin/bash
SOURCE=".api"
DESTINATION="Library/Sources/CommonAPI/API"
API_VERSION="v5"
rm -rf $SOURCE
git clone https://github.com/passepartoutvpn/api --depth 1 $SOURCE
rm -rf $DESTINATION
mkdir -p $DESTINATION
mv $SOURCE/$API_VERSION $DESTINATION
rm -rf $SOURCE