From 146f1e0855808d2c08489189a1923e2a7b8516fa Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Thu, 4 Apr 2024 23:25:48 +0300 Subject: [PATCH] Move publish script to this repository. --- sh/publish.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sh/publish.sh diff --git a/sh/publish.sh b/sh/publish.sh new file mode 100644 index 0000000..40d69d0 --- /dev/null +++ b/sh/publish.sh @@ -0,0 +1,18 @@ +#!/bin/bash +if [-z "$1"] +then + $1 = $(dirname "$0") +fi + +if [ -z "$QUIK_API_KEY" ] +then + echo "Please define QUIK_API_KEY" + exit 1 +fi + +cd $1 +dotnet nuget add source \ + -n QUIK -u themixedupstuff -p "$QUIK_API_KEY" \ + --store-password-in-clear-text \ + https://git.mixedup.dev/api/packages/QUIK/nuget/index.json +dotnet nuget push -s QUIK bin/*/*.nupkg