mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Drone: Don't use npx (#27955)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
parent
9546da3189
commit
f97f12f69d
@ -12,8 +12,8 @@ function parse_git_hash() {
|
|||||||
|
|
||||||
function prepare_version_commit () {
|
function prepare_version_commit () {
|
||||||
echo $'\nCommitting version changes. This commit will not be checked-in!'
|
echo $'\nCommitting version changes. This commit will not be checked-in!'
|
||||||
git config --global user.email "circleci@grafana.com"
|
git config --global user.email "drone@grafana.com"
|
||||||
git config --global user.name "CirceCI"
|
git config --global user.name "Drone"
|
||||||
git commit -am "Version commit"
|
git commit -am "Version commit"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ if [ -z "$count" ]; then
|
|||||||
else
|
else
|
||||||
echo "Changes detected in ${count} packages"
|
echo "Changes detected in ${count} packages"
|
||||||
echo "Releasing packages under ${PACKAGE_VERSION}-${GIT_SHA}"
|
echo "Releasing packages under ${PACKAGE_VERSION}-${GIT_SHA}"
|
||||||
npx lerna version "${PACKAGE_VERSION}-${GIT_SHA}" --exact --no-git-tag-version --no-push --force-publish -y
|
./node_modules/.bin/lerna version "${PACKAGE_VERSION}-${GIT_SHA}" --exact --no-git-tag-version --no-push --force-publish -y
|
||||||
echo $'\nGit status:'
|
echo $'\nGit status:'
|
||||||
git status -s
|
git status -s
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user