matterlink-reboot/prep_workspace.bash
garrettmills 23bed9fb7c
All checks were successful
continuous-integration/drone/push Build is passing
Set gradle build version to drone tag or build
2021-02-09 10:53:42 -06:00

10 lines
165 B
Bash
Executable File

#!/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