Skip to content

Commit ab4f1a5

Browse files
authored
Merge pull request #90 from ajschmidt8/ci-scripts
Update CI scripts & README.md
2 parents 1fc23e6 + 4fbe87d commit ab4f1a5

File tree

3 files changed

+4
-67
lines changed

3 files changed

+4
-67
lines changed

.travis.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ jupyter lab build
7878
This application is distributed as two subpackages.
7979

8080
The JupyterLab frontend part is published to [npm](https://www.npmjs.com/package/jupyterlab-nvdashboard),
81-
and the server-side part to [PyPI](https://pypi.org/project/jupyterlab-nvdashboard/).
81+
and the server-side part to both [PyPI](https://pypi.org/project/jupyterlab-nvdashboard/) and [Anaconda](https://anaconda.org/rapidsai/jupyterlab-nvdashboard) ([nightlies](https://anaconda.org/rapidsai-nightly/jupyterlab-nvdashboard)).
8282

83-
Releases for both packages are done with the `jlpm` tool, `git` and Travis CI.
84-
85-
_Note: Package versions are not prefixed with the letter `v`. You will need to disable this._
86-
87-
```console
88-
$ jlpm config set version-tag-prefix ""
89-
```
90-
91-
Making a release
92-
93-
```console
94-
$ jlpm version [--major|--minor|--patch] # updates package.json and creates git commit and tag
95-
$ git push && git push --tags # pushes tags to GitHub which triggers Travis CI to build and deploy
96-
```
83+
Releases for both packages are handled by [gpuCI](https://gpuci.gpuopenanalytics.com/job/rapidsai/job/gpuci/job/jupyterlab-nvdashboard/). Nightly builds are triggered when a push to a versioned branch occurs (i.e. `branch-0.5`). Stable builds are triggered when a push to the `main` branch occurs.

ci/cpu/upload.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ twine upload --skip-existing -u ${TWINE_USERNAME:-rapidsai} dist/*
5454
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
5555
if [[ "$BUILD_MODE" == "branch" && "${SOURCE_BRANCH}" != 'main' ]]; then
5656
echo "Nightly build, publishing to npm with nightly tag"
57+
# Updates package.json version before publishing since previous publications can't be overwritten
58+
npm version --no-git-tag-version $(git describe --tags)
5759
npm publish --tag=nightly
5860
else
5961
npm publish

0 commit comments

Comments
 (0)