We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd4b13d commit 4893204Copy full SHA for 4893204
.gitignore
@@ -45,3 +45,4 @@ share/python-wheels/
45
*.egg
46
MANIFEST
47
tsconfig.tsbuildinfo
48
+npm-tmp/
bin/publish.sh
@@ -1,9 +1,15 @@
1
#!/usr/bin/env bash
2
3
+set -euxo pipefail
4
+
5
+TMP_DIR=npm-tmp
6
7
source bin/pre-publish-check.sh
-cd $LABEXTENSION_PATH
-npm publish --access public
-cd $SERVEREXTENSION_PATH
8
+mkdir -p $TMP_DIR
9
+pushd $TMP_DIR
10
+npm pack ../
11
+npm publish ryantam626-jupyterlab_code_formatter-"${PUBLISH_VERSION/v/}".tgz --access public
12
+popd
13
python setup.py sdist
14
twine upload dist/jupyterlab_code_formatter-"${PUBLISH_VERSION/v/}".tar.gz
15
git tag -a "${PUBLISH_VERSION}" -m "${PUBLISH_VERSION}"
0 commit comments