Skip to content

Commit

Permalink
feat: added nuspec
Browse files Browse the repository at this point in the history
  • Loading branch information
aochmann committed Feb 25, 2021
1 parent 03c6437 commit 1164619
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
# Solution Setup
CONFIG: 'Release'
SOLUTION: 'Source\*.sln'
VERSION: '1.0.0'

# GitHub Packages Feed settings
GITHUB_USER: thecogworks
Expand All @@ -39,6 +40,11 @@ jobs:
with:
ref: master

- name: Get version
run: |
tag_check=$(git describe --exact-match `git rev-parse HEAD` | head -1)
echo "VERSION=$tag_check" >> $GITHUB_ENV
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand Down
20 changes: 20 additions & 0 deletions Source/Cogworks.Essentials/Cogworks.Essentials.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>Cogworks.Essentials</id>
<version>$version$</version>
<title>Cogworks.Essentials</title>
<authors>Cogworks</authors>
<owners>Cogworks</owners>
<projectUrl>https://github.com/thecogworks/cog-essentials</projectUrl>
<repository type="git" url="https://github.com/thecogworks/cog-essentials" />
<license type="expression">MIT</license>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>BE universal essentials (.NET Standard).</description>
<copyright>The Cogworks Limited 2021</copyright>
<tags>Essentials, Cogworks, dotnet, net, csharp, backend</tags>
</metadata>
<files>
<file src="bin\Release\**\Cogworks.Essentials.dll" target="lib" />
</files>
</package>
5 changes: 4 additions & 1 deletion Source/linting/codeanalysis.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Rule Id="CA1016" Action="Error" />
<Rule Id="CA1017" Action="Error" />
<Rule Id="CA1019" Action="Error" />
<Rule Id="CA1021" Action="Error" />
<Rule Id="CA1021" Action="Info" />
<Rule Id="CA1023" Action="Error" />
<Rule Id="CA1024" Action="Error" />
<Rule Id="CA1025" Action="Error" />
Expand Down Expand Up @@ -168,6 +168,9 @@
<Rule Id="IDE0033WithoutSuggestion" Action="None" />
<Rule Id="IDE0055" Action="Error" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.NetAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.NetAnalyzers">
<Rule Id="CA1021" Action="Info" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.VisualBasic" RuleNamespace="Microsoft.CodeAnalysis.VisualBasic">
<Rule Id="AD0001" Action="None" />
<Rule Id="BC2025" Action="None" />
Expand Down

0 comments on commit 1164619

Please sign in to comment.