mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-04-23 22:30:37 +00:00
* [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
12 lines
269 B
Bash
Executable File
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
|