Make a master tag of the extensions API (#2888)

* Make a master tag of the extensions API

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* use the gitref as a prerelease header

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Reduce the number of releases

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix if

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-06-07 10:40:39 +03:00
1 parent 0fb927f96b
commit 278510a90a
4 files changed
+57 -6

No files matched your search

+2 -1
View File
@@ -110,7 +110,8 @@ build-extension-types: node_modules src/extensions/npm/extensions/dist
.PHONY: publish-npm
publish-npm: node_modules build-npm
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
cd src/extensions/npm/extensions && npm publish --access=public
cd src/extensions/npm/extensions && npm publish --access=public --tag=${NPM_RELEASE_TAG:-latest}
git restore src/extensions/npm/extensions/package.json
.PHONY: docs
docs: