Skip to content

Commit

Permalink
Add publication workflow (#72)
Browse files Browse the repository at this point in the history
* Add publication workflow

* Bump to 1.0.0
  • Loading branch information
fcollonval authored Apr 27, 2022
1 parent 0442bba commit 247cb58
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 62 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish Package

on:
release:
types: [published]
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "jupyterlab~=3.0" "jupyter_packaging~=0.10,<2" twine build
- name: Build and publish package
run: |
jlpm
python -m build
twine upload --skip-existing dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
61 changes: 0 additions & 61 deletions RELEASE.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-search-replace",
"version": "0.1.0",
"version": "1.0.0",
"description": "Search and replace across files",
"keywords": [
"jupyter",
Expand Down

0 comments on commit 247cb58

Please sign in to comment.