Skip to content

Commit

Permalink
V2.2.2 (#622)
Browse files Browse the repository at this point in the history
* bumped version

* added npm publishing automation
  • Loading branch information
elalish authored Nov 17, 2023
1 parent 1991232 commit 01c38e4
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 6 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish_npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: publish_npm

on: [release, workflow_dispatch]

jobs:
deploy_github_pages:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3

- name: Download built examples
uses: dawidd6/action-download-artifact@v2
with:
workflow: manifold.yml
workflow_conclusion: completed
name: wasm
path: ./bindings/wasm/

- name: Publish to npm
run: |
cd ./bindings/wasm/
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4 changes: 2 additions & 2 deletions bindings/wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manifold-3d",
"version": "2.2.1",
"version": "2.2.2",
"description": "Geometry library for topological robustness",
"main": "manifold.js",
"files": [
Expand Down Expand Up @@ -36,4 +36,4 @@
"url": "https://github.com/elalish/manifold/issues"
},
"homepage": "https://github.com/elalish/manifold#readme"
}
}
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}: pkgs.stdenv.mkDerivation {
inherit doCheck;
pname = "manifold-${parallel-backend}";
version = "2.2.1";
version = "2.2.2";
src = self;
nativeBuildInputs = (with pkgs; [
cmake
Expand Down Expand Up @@ -103,7 +103,7 @@
parallelBackends)) // {
manifold-js = pkgs.buildEmscriptenPackage {
name = "manifold-js";
version = "2.2.1";
version = "2.2.2";
src = self;
nativeBuildInputs = (with pkgs; [ cmake python39 ]);
buildInputs = [ pkgs.nodejs ];
Expand Down Expand Up @@ -134,7 +134,7 @@
# but how should we make it work with other python versions?
manifold3d = with pkgs.python3Packages; buildPythonPackage {
pname = "manifold3d";
version = "2.2.1";
version = "2.2.2";
src = self;
propagatedBuildInputs = [
numpy
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "manifold3d"
version = "2.2.1"
version = "2.2.2"
authors = [
{ name="Emmett Lalish", email="[email protected]" },
]
Expand Down

0 comments on commit 01c38e4

Please sign in to comment.