Skip to content

Commit 14f3f09

Browse files
committed
Update versioning format and enable NuGet package publishing
1 parent 245dffb commit 14f3f09

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/publish-to-nuget.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,16 @@ jobs:
8282
# Clean up extraction directory
8383
Remove-Item -Path $extractPath -Recurse -Force
8484
}
85-
# - name: Publish NuGet packages
86-
# shell: pwsh
87-
# run: |
88-
# Get-ChildItem -Path "${{ github.workspace }}/artifacts" -Filter *.nupkg | ForEach-Object {
89-
# dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
90-
# }
91-
#
92-
# - name: Publish symbols packages
93-
# shell: pwsh
94-
# run: |
95-
# Get-ChildItem -Path "${{ github.workspace }}/artifacts" -Filter *.snupkg | ForEach-Object {
96-
# dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
97-
# }
85+
- name: Publish NuGet packages
86+
shell: pwsh
87+
run: |
88+
Get-ChildItem -Path "${{ github.workspace }}/artifacts" -Filter *.nupkg | ForEach-Object {
89+
dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
90+
}
91+
92+
- name: Publish symbols packages
93+
shell: pwsh
94+
run: |
95+
Get-ChildItem -Path "${{ github.workspace }}/artifacts" -Filter *.snupkg | ForEach-Object {
96+
dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
97+
}

src/EFCore/EFCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<VersionBase>1.0</VersionBase>
1313
<BuildNumber>$([System.DateTime]::Now.ToString("yyMM"))</BuildNumber>
1414
<Revision>$([System.DateTime]::Now.ToString("ddHH"))</Revision>
15-
<Version>$(VersionBase).$(BuildNumber).$(Revision)-preview</Version>
15+
<Version>$(VersionBase).$(BuildNumber).$(Revision)</Version>
1616
<!-- Basic Project Properties -->
1717
<PackageId>$(RootNamespace)</PackageId>
1818
<PackageVersion>$(Version)</PackageVersion>

0 commit comments

Comments
 (0)