#!/usr/bin/env bash -ex # # Copyright 2021 The Mumble Developers. All rights reserved. # Use of this source code is governed by a BSD-style license # that can be found in the LICENSE file at the root of the # Mumble source tree or at . # Below is a list of configuration variables used from environment. # # Predefined variables: # # BUILD_SOURCESDIRECTORY - The local path on the agent where the # repository is downloaded. # RELEASE_ID=$(python "scripts/mumble-version.py") cd $BUILD_BINARIESDIRECTORY $BUILD_SOURCESDIRECTORY/macx/scripts/osxdist.py --version=$RELEASE_ID --source-dir=$BUILD_SOURCESDIRECTORY --binary-dir=. mv *.dmg $BUILD_ARTIFACTSTAGINGDIRECTORY