matterlink-reboot/prep_workspace.bash

10 lines
165 B
Bash
Raw Normal View History

#!/bin/bash -xe
CI_SUB="$DRONE_TAG"
if [ -z "$CI_SUB" ]; then
CI_SUB="ci${DRONE_BUILD_NUMBER}"
fi
sed -i -e "s/%%CI_BUILD_VERSION%%/${CI_SUB}/g" build.gradle