fetch new and build new version automatically
This commit is contained in:
17
.build/ci-helper
Executable file
17
.build/ci-helper
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
VERSION_JSON=$(./get_latest_version.sh)
|
||||
NEXTCLOUD_VERSION=$(echo $VERSION_JSON | jq -r .version)
|
||||
NEXTCLOUD_URL=$(echo $VERSION_JSON | jq -r .url)
|
||||
NEXTCLOUD_FILENAME=$(echo $VERSION_JSON | jq -r .filename)
|
||||
|
||||
export NEXTCLOUD_VERSION
|
||||
export NEXTCLOUD_URL
|
||||
export NEXTCLOUD_FILENAME
|
||||
|
||||
echo "Nextcloud Version: $NEXTCLOUD_VERSION"
|
||||
echo "Nextcloud URL: $NEXTCLOUD_URL"
|
||||
echo "Nextcloud Filename: $NEXTCLOUD_FILENAME"
|
||||
|
||||
docker compose $@
|
Reference in New Issue
Block a user