Skip to content

Commit 9ed2ea4

Browse files
authored
Merge pull request #12 from jtpio/releaser
Adopt the Jupyter Releaser
2 parents e4fb800 + 68f79ca commit 9ed2ea4

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Check Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
check_release:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Base Setup
21+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
22+
23+
- name: Check Release
24+
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
25+
with:
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
version_spec: next
28+
29+
- name: Upload Distributions
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: pyjs-code-runner-releaser-dist-${{ github.run_number }}
33+
path: .jupyter_releaser_checkout/dist

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
<!-- <START NEW CHANGELOG ENTRY> -->
4+
5+
<!-- <END NEW CHANGELOG ENTRY> -->

pyjs_code_runner/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.0"
1+
__version__ = "2.0.1"

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ build-backend = "hatchling.build"
88
name = "pyjs-code-runner"
99
description = "A driver to run wasm code from an emscripten-forge coda env like normal python code"
1010
readme = "README.md"
11+
license = { file = "LICENSE" }
1112
authors = [
1213
{ name = "Thorsten Beier", email = "[email protected]" },
1314
]
@@ -27,10 +28,10 @@ dependencies = [
2728
"rich",
2829
"typer",
2930
]
30-
version = "2.0.0"
31+
dynamic = ["version"]
3132

32-
[project.license]
33-
file = "LICENSE"
33+
[tool.hatch.version]
34+
path = "pyjs_code_runner/version.py"
3435

3536
[project.scripts]
3637
pyjs_code_runner = "pyjs_code_runner.cli.main:app"

0 commit comments

Comments
 (0)