(cherry picked from commit 59e153cde8)
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
This commit is contained in:
co-authored by
Dimitris Sotirakis
parent
a36706f226
commit
f9a7ad06d7
@@ -52,15 +52,6 @@ if [ $RELEASE_CHANNEL == "latest" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Publish to Github Packages registry
|
||||
# We do this for the convenience of developers that make use of both the canary and next / latest channels.
|
||||
|
||||
echo "@grafana:registry=https://npm.pkg.github.com" >> ~/.npmrc
|
||||
echo "//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGE_TOKEN}" >> ~/.npmrc
|
||||
|
||||
echo $'\nPublishing packages to Github Packages registry'
|
||||
yarn packages:${SCRIPT} --registry https://npm.pkg.github.com
|
||||
|
||||
# When releasing stable(latest) version of packages we are updating previously published next tag(beta) to be the same version as latest
|
||||
if [ $RELEASE_CHANNEL == "latest" ]; then
|
||||
for i in "${PACKAGES[@]}"
|
||||
|
||||
@@ -113,7 +113,6 @@ def release_npm_packages_step(edition, ver_mode):
|
||||
],
|
||||
'environment': {
|
||||
'NPM_TOKEN': from_secret('npm_token'),
|
||||
'GITHUB_PACKAGE_TOKEN': from_secret('github_package_token'),
|
||||
},
|
||||
'commands': ['./scripts/build/release-npm-packages.sh ${DRONE_TAG}'],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user