-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/0.12.0: (23 commits) (maint) Add VSCode settings file (GH-55) Prefer building on GHA (GH-54) Include pdb in nupkg (GH-53) Add Cake.Addin.Analyzer package (GH-52) Add CakeContrib.Guidelines package (maint) Fix copyright (GH-51) Enable deterministic build (GH-50) Update to use Cake.Recipe 2.2.0 (GH-49) Add workflow to build on GHA (GH-48) Add workflow to generate release notes (build) Remove Azure Pipelines build (GH-47) Update GRM config (build) Use latest Cake.Recipe (build) Use latest Cake.Recipe (build) Switch off running DupFinder (build) Fix target name (build) Use latest Cake.Recipe (build) Test running in Azure DevOps (build) Add Azure DevOps Pipeline yml file Fix typo ...
- Loading branch information
Showing
17 changed files
with
263 additions
and
407 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.5", | ||
"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,70 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "README.md" | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
|
||
env: | ||
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} | ||
AZURE_SOURCE: ${{ secrets.AZURE_SOURCE }} | ||
AZURE_USER: ${{ secrets.AZURE_USER }} | ||
GITHUB_PAT: ${{ secrets.GH_TOKEN }} | ||
GITTER_ROOM_ID: ${{ secrets.GITTER_ROOM_ID }} | ||
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }} | ||
GPR_SOURCE: ${{ secrets.GPR_SOURCE }} | ||
GPR_USER: ${{ secrets.GPR_USER }} | ||
GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }} | ||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | ||
NUGET_SOURCE: "https://api.nuget.org/v3/index.json" | ||
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} | ||
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | ||
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }} | ||
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }} | ||
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }} | ||
WYAM_DEPLOY_BRANCH: "gh-pages" | ||
WYAM_DEPLOY_REMOTE: ${{ github.event.repository.html_url }} | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Cache Tools | ||
uses: actions/cache@v2 | ||
with: | ||
path: tools | ||
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | ||
|
||
- name: Build project | ||
uses: cake-build/cake-action@v1 | ||
with: | ||
script-path: recipe.cake | ||
target: CI | ||
verbosity: Normal | ||
cake-version: 0.38.5 | ||
cake-bootstrap: true | ||
|
||
- name: Upload Issues-Report | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
if-no-files-found: warn | ||
name: issues | ||
path: BuildArtifacts/report.html | ||
|
||
- name: Upload Packages | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
if-no-files-found: warn | ||
name: package | ||
path: BuildArtifacts/Packages/**/* |
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,47 @@ | ||
name: Draft Release Notes | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
draft-stable: | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout the requested branch | ||
uses: actions/[email protected] | ||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
- name: Cache Tools | ||
uses: actions/[email protected] | ||
with: | ||
path: tools | ||
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | ||
- name: Set up git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: "5.x" | ||
- name: Run git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
- name: Create release branch ${{ github.event.inputs.version }} | ||
if: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} | ||
- name: Push new branch | ||
if: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
uses: ad-m/[email protected] | ||
with: | ||
branch: "release/${{ steps.gitversion.outputs.majorMinorPatch }}" | ||
github_token: ${{ secrets.GH_TOKEN }} | ||
- name: Drafting Release Notes | ||
uses: cake-build/cake-action@v1 | ||
with: | ||
script-path: recipe.cake | ||
target: releasenotes | ||
verbosity: Diagnostic | ||
cake-version: 0.38.5 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"omnisharp.enableEditorConfigSupport": true, | ||
"omnisharp.enableRoslynAnalyzers": true, | ||
"[powershell]": { | ||
"files.encoding": "utf8bom" | ||
}, | ||
"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 |
---|---|---|
@@ -1,16 +1,48 @@ | ||
issue-labels-include: | ||
- Breaking change | ||
- Feature | ||
- Bug | ||
- Feature | ||
- Enhancement | ||
- Improvement | ||
- Documentation | ||
- security | ||
issue-labels-exclude: | ||
- Build | ||
- Internal / Refactoring | ||
issue-labels-alias: | ||
- name: Documentation | ||
header: Documentation | ||
plural: Documentation | ||
- name: security | ||
header: Security | ||
plural: Security | ||
create: | ||
include-footer: true | ||
footer-heading: Where to get it | ||
footer-content: > | ||
You can download this release from | ||
[nuget](https://nuget.org/packages/Cake.Gitter/{milestone}), | ||
or you can just reference it in a cake build script | ||
with `#addin nuget:?package=Cake.Gitter&version={milestone}`. | ||
footer-includes-milestone: true | ||
milestone-replace-text: "{milestone}" | ||
include-sha-section: true | ||
sha-section-heading: "SHA256 Hashes of the release artifacts" | ||
sha-section-line-format: "- `{1}\t{0}`" | ||
export: | ||
include-created-date-in-title: true | ||
created-date-string-format: yyyy-MM-dd | ||
perform-regex-removal: true | ||
regex-text: '[\r\n]*### Where to get it[\r\n]*You can .*`\.[\r\n]*' | ||
multiline-regex: true | ||
close: | ||
use-issue-comments: true | ||
issue-comment: |- | ||
:tada: This issue has been resolved in version {milestone} :tada: | ||
The release is available on: | ||
- [GitHub Release](https://github.com/{owner}/{repository}/releases/tag/{milestone}) | ||
- [NuGet Package](https://www.nuget.org/packages/{repository}/{milestone}) | ||
Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package::rocket: |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,28 @@ | ||
|
||
<!-- This target must be imported into Directory.Build.targets --> | ||
<!-- Workaround. Remove once we're targeting the 3.1.300+ SDK | ||
https://github.com/dotnet/sourcelink/issues/572 --> | ||
<Project> | ||
<PropertyGroup> | ||
<!-- Uncomment the following if you want to have pdb files embedded inside a nupkg package --> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<SourceRoot Include="$(NuGetPackageRoot)" /> | ||
</ItemGroup> | ||
|
||
<Target Name="CoverletGetPathMap" | ||
DependsOnTargets="InitializeSourceRootMappedPaths" | ||
Returns="@(_LocalTopLevelSourceRoot)" | ||
Condition="'$(DeterministicSourcePaths)' == 'true'"> | ||
<ItemGroup> | ||
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.