Build: Publish next and latest npm channels to Github (#29615)

* build(npm): publish next and latest packages to github registry

* ci(release): remove redundant commands from release-npm-packages step

* Update scripts/release.star

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update scripts/release.star

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Jack Westbrook
2020-12-04 16:34:03 +01:00
committed by GitHub
parent 9508656b15
commit c2e81ab166
3 changed files with 26 additions and 11 deletions
+3 -5
View File
@@ -35,12 +35,10 @@ def release_npm_packages_step(edition, ver_mode):
if edition == 'enterprise':
return None
commands = [
'./node_modules/.bin/lerna bootstrap',
'echo "//registry.npmjs.org/:_authToken=$${NPM_TOKEN}" >> ~/.npmrc',
]
if ver_mode == 'release':
commands.append('./scripts/build/release-packages.sh ${DRONE_TAG}')
commands = ['./scripts/build/release-packages.sh ${DRONE_TAG}']
else:
commands = []
return {
'name': 'release-npm-packages',