Skip to content

Commit 337d493

Browse files
authored
Try to fix why only CSharpMath the package was published to NuGet (#152)
* Update Release.yml * Don't quote the title with backticks * Ahhh * Update Release.yml
1 parent 0f81662 commit 337d493

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ categories:
3939
label: 'Type/Housekeeping'
4040
# Extra line before $BODY or markdown on the first line of $BODY will be interpreted as plain text
4141
change-template: |
42-
<details><summary>`$TITLE` (#$NUMBER) @$AUTHOR</summary><table><td>
42+
<details><summary>$TITLE (#$NUMBER) @$AUTHOR</summary><table><td>
4343
4444
$BODY
4545
</td></table></details>

.github/workflows/Release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ jobs:
5151
file_glob: true
5252
overwrite: true
5353
- name: Upload to NuGet
54-
run: dotnet nuget push .nupkgs/* -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
54+
run: dotnet nuget push .nupkgs/ -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
55+
# If .nupkgs/* is used instead of .nupkg/ as the path, then not all files will be uploaded
56+
# So CSharpMath.0.5.0-alpha.nupkg and CSharpMath.0.5.0-alpha.snupkg will be uploaded but not others e.g. CSharpMath.Rendering.0.5.0-alpha.nupkg

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: |
7676
# Non-Windows platforms require --store-password-in-clear-text: https://github.com/NuGet/Home/issues/1851
7777
dotnet nuget add source https://nuget.pkg.github.com/verybadcat/index.json -n github -u verybadcat -p ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
78-
dotnet nuget push .nupkgs/ --source "github" --skip-duplicate
78+
dotnet nuget push .nupkgs/*.nupkg --source "github" --skip-duplicate # Don't let GitHub Releases interpret .snupkg as .nupkg
7979
Ios:
8080
runs-on: macos-latest
8181
steps:

0 commit comments

Comments
 (0)