15 lines
233 B
Bash
Executable File
15 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ "${BRANCH_NAME}" == "master" ]]
|
|
then
|
|
./versions.sh minor
|
|
echo "Updating minor version ... "
|
|
fi
|
|
|
|
|
|
if [[ "${BRANCH_NAME}" == release* ]]
|
|
then
|
|
./versions.sh patch
|
|
echo "Updating patch version ... "
|
|
fi
|