Skip to content

Commit

Permalink
Fix pack
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitii committed Feb 6, 2022
1 parent 887345a commit 4705443
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Test
run: Get-ChildItem -Recurse -Filter "*.Tests.dll" | ? { $_.FullName -Match "bin[\\/]Release" -and $_.FullName -notmatch "ref" } | % { vstest.console.exe $_.FullName }
- name: Pack
run: msbuild /t:pack /p:Configuration=Release /p:OutputPath="$(Join-Path $(Get-Location) nuget)" /p:Version="$env:TAG_NAME" -m:4 ./Community.Sextant.WinUI.sln
run: msbuild /t:pack /p:Configuration=Release /p:OutputPath="$(Join-Path $(Get-Location) nuget)" /p:Version="$env:TAG_NAME" -m:1 ./Community.Sextant.WinUI.sln
env:
TAG_NAME: ${{ steps.tagName.outputs.tag }}
- name: Attach nuget packages to Github releases
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

/wsl-sdk-dotnet
/nuget

# User-specific files
*.rsuser
Expand Down
1 change: 1 addition & 0 deletions Community.Sextant.WinUI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SextantSample.WinUI.FrameWi
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8AF8FE8C-8661-4880-82C6-604CE5756D57}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
.github\workflows\auto-approve.yml = .github\workflows\auto-approve.yml
.github\workflows\ci.yml = .github\workflows\ci.yml
README.md = README.md
Expand Down
5 changes: 4 additions & 1 deletion Community.Sextant.WinUI/Community.Sextant.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
</ItemGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>

0 comments on commit 4705443

Please sign in to comment.