From e976fd585b81b9d4a71224bced5e52ce2268f9c7 Mon Sep 17 00:00:00 2001 From: OssiGalkin Date: Wed, 30 Sep 2020 15:09:33 +0300 Subject: [PATCH] CUstom tasks won't have anymore ci things. --- Frends.Community.Echo/.template.config/template.json | 4 ++-- .../Frends.Community.Echo.SetPaswordsEnv.ps1 | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Frends.Community.Echo/.template.config/template.json b/Frends.Community.Echo/.template.config/template.json index a2e79a8..a5c5f88 100644 --- a/Frends.Community.Echo/.template.config/template.json +++ b/Frends.Community.Echo/.template.config/template.json @@ -34,7 +34,7 @@ "EnableCommunityTask": { "type": "parameter", "dataType": "bool", - "defaultValue": "true" + "defaultValue": "false" }, "TargetPlatform": { "type": "parameter", @@ -69,7 +69,7 @@ "sources": [{ "modifiers": [{ "condition": "(!EnableCommunityTask)", - "exclude": [".github/**", "LICENSE"] + "exclude": [".github/**", "LICENSE", "Frends.Community.Echo.SetPaswordsEnv.ps1"] }, { diff --git a/Frends.Community.Echo/Frends.Community.Echo.SetPaswordsEnv.ps1 b/Frends.Community.Echo/Frends.Community.Echo.SetPaswordsEnv.ps1 index 65aec06..2d2da33 100644 --- a/Frends.Community.Echo/Frends.Community.Echo.SetPaswordsEnv.ps1 +++ b/Frends.Community.Echo/Frends.Community.Echo.SetPaswordsEnv.ps1 @@ -1 +1 @@ -[System.Environment]::SetEnvironmentVariable('EXAMPLE_ENVIROMENT_VARIABLE','foobar') \ No newline at end of file +[System.Environment]::SetEnvironmentVariable('EXAMPLE_ENVIROMENT_VARIABLE','foobar','User') \ No newline at end of file diff --git a/README.md b/README.md index 786ac79..c97b177 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Options: `dotnet pack` -This command will build the project and create a NuGet package in .\bin\Debug +This command will build the project and create a NuGet package `.\bin\Debug\frendstask.*.*.*.nupkg` You can ignore warnings about Frends.Community.Echo.SetPaswordsEnv.ps1. To install this template from locally created NuGet package use