-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/2.0.0' into master
* release/2.0.0: (340 commits) (GH-697) Update JetBrains.ReSharper.CommandLineTools reference from 2020.2.3 to 2020.2.4 Add rule URL resolver for CakeContrib-Guidelines Update Cake.Issues.Recipe to 0.4.3 (GH-691) Update JetBrains.ReSharper.CommandLineTools reference from 2020.2.2 to 2020.2.3 Revert "(GH-673) Use .Net Global Tool for ReSharper Tools" (GH-616) Create unique version number Update Cake.Issues.Recipe to 0.4.2 (GH-687) using RepositoryName insteadof repositoryName to make use of the default-value for RepositoryName. (GH-612) Add docs for upgrading to 2.0.0 (GH-673) Use .Net Global Tool for ReSharper Tools Update Cake.Issues.Recipe to 0.4.1 (GH-684) parameter ShouldDocumentSourceFiles is no longer dependent on ShouldGenerateDocumentation. (GH-677) Updated documentation to reflect the changes of the default of webLinkRoot (GH-680) Documentation of GH-680 as a known-issue. (GH-677) set default for WebLinkRoot as RepositoryName instead of title. (GH-675) Update Cake.Transifex reference from 0.9.0 to 0.9.1 (maint) Switch to latest version of Kudu (GH-674) Update github action workflow with cake-action (GH-674) update bootstrappers to run use .NET Core global tool (maint) Correct line endings for shell scripts ...
- Loading branch information
Showing
129 changed files
with
6,200 additions
and
1,964 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"cake.tool": { | ||
"version": "0.38.4", | ||
"commands": [ | ||
"dotnet-cake" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; More information at http://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = CRLF | ||
|
||
[*.ps1] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.sh] | ||
# Shell scripts requires that line endings are LF | ||
end_of_line = lf | ||
|
||
[*.cs] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.cake] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.js] | ||
indent_style = tab | ||
indent_size = 2 | ||
|
||
[*.sh] | ||
end_of_line = lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- "dependabot/**" # Will still build PRs, but not the branches themself | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Fetch all branches and tags | ||
run: git fetch --unshallow --prune | ||
- name: Tools caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: tools | ||
key: ${{ matrix.os }}-tools-${{ hashFiles('recipe.cake') }} | ||
- name: Creating includes.cake file | ||
run: | | ||
Get-ChildItem "./Cake.Recipe/Content/*.cake" -Exclude "version.cake" | % { | ||
"#load `"local:?path=$($_.FullName -replace '\\','/')`"" | ||
} | Out-File "./includes.cake" | ||
shell: pwsh | ||
- name: Build Cake.Recipe | ||
uses: cake-build/cake-action@v1 | ||
with: | ||
script-path: recipe.cake | ||
target: CI | ||
cake-version: 0.38.4 | ||
cake-bootstrap: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Addin", | ||
"Codecov", | ||
"Datas", | ||
"ENABLESSL", | ||
"Gitter", | ||
"Littles", | ||
"MICROSOFTTEAMS", | ||
"MSIL", | ||
"MYGET", | ||
"PROJECTA", | ||
"Posix", | ||
"Publishedx", | ||
"SMTPHOST", | ||
"Testx", | ||
"Transifex", | ||
"Veyor", | ||
"WEBHOOKURL", | ||
"Wyam", | ||
"Xunit", | ||
"bootstrapper", | ||
"cakecontrib", | ||
"chocolateygui", | ||
"clearcache", | ||
"clickable", | ||
"hotfix", | ||
"msbuild", | ||
"netcoreapp", | ||
"netstandard", | ||
"nuget", | ||
"nunit", | ||
"pdbonly", | ||
"prerelease", | ||
"publishdocs", | ||
"releasenotes", | ||
"resharper", | ||
"typeof", | ||
"vstest", | ||
"wixproj", | ||
"xbuild" | ||
], | ||
"powershell.codeFormatting.addWhitespaceAroundPipe": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
public enum FeedType | ||
{ | ||
Chocolatey, | ||
NuGet | ||
} | ||
|
||
public class PackageSourceData | ||
{ | ||
public string Name { get; set; } | ||
public string PushUrl { get; set; } | ||
public FeedType Type { get; set; } | ||
public bool IsRelease { get; set; } | ||
public PackageSourceCredentials Credentials { get; private set; } | ||
|
||
public PackageSourceData(ICakeContext context, string name, string pushUrl) | ||
: this(context, name, pushUrl, FeedType.NuGet) | ||
{ | ||
} | ||
|
||
public PackageSourceData(ICakeContext context, string name, string pushUrl, FeedType feedType) | ||
: this(context, name, pushUrl, feedType, true) | ||
{ | ||
} | ||
|
||
public PackageSourceData(ICakeContext context, string name, string pushUrl, FeedType feedType, bool isRelease) | ||
{ | ||
Name = name; | ||
PushUrl = pushUrl; | ||
Type = feedType; | ||
IsRelease = isRelease; | ||
|
||
Credentials = new PackageSourceCredentials( | ||
context.EnvironmentVariable(Name.ToUpperInvariant() + "_API_KEY"), | ||
context.EnvironmentVariable(Name.ToUpperInvariant() + "_USER"), | ||
context.EnvironmentVariable(Name.ToUpperInvariant() + "_PASSWORD") | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.