Files
alfresco-ng2-components/scripts/github/build/bumpversion.sh
Michal Kinas 91447f8646 [ACS-10765] Switch to NPM trusted publishing (#11388)
* [ACS-10765] Switch to NPM trusted publishing

* [ACS-10765] CR fixes

* [ACS-10765] Set NPM_TAG without github env usage

* [ACS-10765] CR fixes

* [ACS-10765] CR fix
2025-11-27 13:27:16 +01:00

12 lines
269 B
Bash
Executable File

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