File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 31
31
" - `azure-pipelines.yml`\n " ,
32
32
" - `CHANGELOG.md`\n " ,
33
33
" \n " ,
34
- " The npm version must be updated in the following places\n " ,
34
+ " The npm version of `jupyterlab-lsp` must be updated in the following places: \n " ,
35
35
" \n " ,
36
36
" - `packages/jupyterlab-lsp/package.json` (canonical)\n " ,
37
37
" - `azure-pipelines.yml`\n " ,
38
38
" - `packages/metapackage/package.json`\n " ,
39
- " - `CHANGELOG.md`"
39
+ " - `CHANGELOG.md`\n " ,
40
+ " \n " ,
41
+ " The npm version of `lsp-ws-connection` must be updated in the following places:\n " ,
42
+ " \n " ,
43
+ " - `packages/lsp-ws-connection/package.json` (canonical)\n " ,
44
+ " - `packages/jupyterlab-lsp/package.json`\n " ,
45
+ " - `CHANGELOG.md`\n " ,
46
+ " \n " ,
47
+ " ### Releasing:\n " ,
48
+ " \n " ,
49
+ " ```bash\n " ,
50
+ " cd packages/lsp-ws-connection\n " ,
51
+ " npm publish\n " ,
52
+ " cd -\n " ,
53
+ " cd packages/jupyterlab-lsp\n " ,
54
+ " npm publish\n " ,
55
+ " cd -\n " ,
56
+ " ./scripts/publish_pypi.sh\n " ,
57
+ " ```"
40
58
]
41
59
}
42
60
],
56
74
"name" : " python" ,
57
75
"nbconvert_exporter" : " python" ,
58
76
"pygments_lexer" : " ipython3" ,
59
- "version" : " 3.7.6 "
77
+ "version" : " 3.8.0 "
60
78
}
61
79
},
62
80
"nbformat" : 4 ,
Original file line number Diff line number Diff line change
1
+ rm dist/*
2
+ python3 setup.py sdist
3
+ twine upload dist/* -r testpypi
4
+ echo " Published to testpypi"
5
+ while true ; do
6
+ read -p " Do you wish to publish to pypi?" yn
7
+ case $yn in
8
+ [Yy]* ) twine upload dist/* ; break ;;
9
+ [Nn]* ) exit ;;
10
+ * ) echo " Please answer yes or no." ;;
11
+ esac
12
+ done
You can’t perform that action at this time.
0 commit comments