From 99ad2ab107aed913c6fa8f6c2fd7994613335e03 Mon Sep 17 00:00:00 2001 From: kingchenc Date: Wed, 10 Jun 2026 00:20:34 +0200 Subject: [PATCH] release.yml: ship the dual license in the wickra-go mirror (#239) The go-mirror job copied the source, header, README and libraries into wickra-go but not the license, so pkg.go.dev reports `License: None detected` (not redistributable). Copy the root `LICENSE-MIT` and `LICENSE-APACHE` into the assembled module. Takes effect on the next release; the already-published `v0.8.0` tag is immutable on the Go proxy and keeps its current state. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3de58443..72d55d8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -808,6 +808,8 @@ jobs: cp bindings/go/*.go "$out/" cp bindings/go/include/wickra.h "$out/include/" cp bindings/go/README.md "$out/" + # Ship the dual license so pkg.go.dev detects a redistributable license. + cp LICENSE-MIT LICENSE-APACHE "$out/" # Standalone module path (the in-repo go.mod points at the subdir). printf 'module github.com/wickra-lib/wickra-go\n\ngo 1.23\n' > "$out/go.mod" # Point install instructions at the standalone module path.