From a3f1895baebb615a101f2ba2f3f7d1b40e325389 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Thu, 28 Nov 2024 00:34:52 -0800 Subject: [PATCH] another fix --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index a5c51e1..8087547 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -55,7 +55,7 @@ jobs: run: | REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}') REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_') - if [ -z "$(dotnet nuget config get all | grep '"gitea"')" ]; then + if [ -z "$(dotnet nuget config get all | grep '/packages/${REPOSITORY_OWNER}/nuget/index.json')" ]; then dotnet nuget add source --name gitea --username $GITEA_USERNAME --password $GITEA_PASSWORD https://git.disi.dev/api/packages/$REPOSITORY_OWNER/nuget/index.json fi dotnet pack --include-symbols --include-source -p:PackageVersion=$(cat $REPOSITORY_NAME/VERSION) DotnetTestLib.sln