From 6e9ff9c59c4ba4b9ac5d8f1f7765f95ccef24c61 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Tue, 27 Oct 2026 21:11:00 +0000 Subject: [PATCH] Add license to published artifacts --- .forgejo/workflows/publish.yml | 4 ++-- examples/website/package.json | 2 +- reconcile-js/.gitignore | 1 + reconcile-js/package.json | 3 ++- reconcile-python/pyproject.toml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 reconcile-js/.gitignore diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 3aea1ae..542ea6a 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -230,8 +230,8 @@ jobs: curl --proto '=https' --tlsv1.2 -LsSf https://astral.sh/uv/install.sh | sh echo "$HOME/.local/bin" >> "$GITHUB_PATH" - - name: Copy README - run: cp README.md reconcile-python/ + - name: Copy README and license + run: cp README.md LICENSE reconcile-python/ - name: Build sdist working-directory: reconcile-python diff --git a/examples/website/package.json b/examples/website/package.json index 6f83087..a2fcdc5 100644 --- a/examples/website/package.json +++ b/examples/website/package.json @@ -13,7 +13,7 @@ }, "keywords": [], "author": "Andras Schmelczer", - "license": "GPL-3.0-or-later", + "license": "MIT", "bugs": { "url": "https://git.schmelczer.dev/andras/reconcile/issues" }, diff --git a/reconcile-js/.gitignore b/reconcile-js/.gitignore new file mode 100644 index 0000000..6b1d0bf --- /dev/null +++ b/reconcile-js/.gitignore @@ -0,0 +1 @@ +LICENSE diff --git a/reconcile-js/package.json b/reconcile-js/package.json index fca2bc1..80e7968 100644 --- a/reconcile-js/package.json +++ b/reconcile-js/package.json @@ -29,7 +29,8 @@ "license": "MIT", "types": "dist/types/index.d.ts", "files": [ - "dist/**/*" + "dist/**/*", + "LICENSE" ], "scripts": { "build": "node scripts/build-rn.mjs && webpack --mode production", diff --git a/reconcile-python/pyproject.toml b/reconcile-python/pyproject.toml index ceecdd1..78f174d 100644 --- a/reconcile-python/pyproject.toml +++ b/reconcile-python/pyproject.toml @@ -7,7 +7,7 @@ name = "reconcile-text" version = "0.13.2" description = "Intelligent 3-way text merging with automated conflict resolution" readme = "README.md" -license = { text = "MIT" } +license = { file = "LICENSE" } authors = [{ name = "Andras Schmelczer", email = "andras@schmelczer.dev" }] requires-python = ">=3.9" classifiers = [