From 03d3b011dace42d90cff17aa27f0164ca59cdc0b Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Tue, 1 Oct 2024 17:14:53 +0200 Subject: [PATCH] Publish actual file, too --- conda-recipe/publish.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conda-recipe/publish.py b/conda-recipe/publish.py index c078f31d..f0d7110e 100644 --- a/conda-recipe/publish.py +++ b/conda-recipe/publish.py @@ -32,6 +32,7 @@ for sd in ['noarch', 'win-64']: res.append( requests.put( f'https://git.embl.de/api/v4/projects/{id}/packages/generic/{pkgname}/{ver}/{fn}?status=default', + files={'file': open(root / sd / fn, 'rb')}, headers={'PRIVATE-TOKEN': pwd}, ) ) -- GitLab