Files
alfresco-ng2-components/scripts/github/build/bumpversion.sh
Denys Vuika 7e1c1f472e cleanup
2023-11-21 14:37:27 +00:00

12 lines
279 B
Bash
Executable File

#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../../../
BRANCH=${GITHUB_REF##*/}
if [[ $BRANCH =~ ^develop(-patch.*)?$ ]]
then
echo "Replace NPM version with new Alpha tag"
./scripts/update-version.sh -gnu -nextalpha || exit 1;
fi