Skip to content

Commit fed53b8

Browse files
committed
commit missing release prep
1 parent 24f178f commit fed53b8

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ There is no difference in behaviour when using this metapackage vs the previous
3232
- [#360](https://github.com/nHapiNET/nHapi/pull/360) Add Support for `CharSetUtil` and `PreParser`. By @milkshakeuk (resolves [#312](https://github.com/nHapiNET/nHapi/issues/312))
3333
- [#362](https://github.com/nHapiNET/nHapi/pull/362) Fixed some static analysis warnings related to public constants. By @PhantomGrazzler
3434
- [#398](https://github.com/nHapiNET/nHapi/pull/398) Bring XmlParsing in line with `hapi`. By @milkshakeuk (unblocks [#308](https://github.com/nHapiNET/nHapi/pull/308))
35+
- [#278](https://github.com/nHapiNET/nHapi/issues/278) Better Source Link Support. By @milkshakeuk
3536

3637
### Other
3738

build/default.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,21 @@ Task Package -depends Build {
8282
Exec { dotnet pack "..\src\$project\$project.csproj" -c $projectConfig --no-build --no-restore -o "..\dist" }
8383
}
8484

85-
Exec { .nuget\nuget pack .\nHapi.v3.nuspec -OutputDirectory ..\dist }
85+
$commit = (git rev-parse --verify HEAD)
86+
$nuspec = ".\nHapi.v3.nuspec"
87+
88+
(Get-Content $nuspec).Replace('commit=""', 'commit="' + $commit + '"') | Set-Content $nuspec
89+
90+
Exec { .nuget\nuget pack $nuspec -OutputDirectory ..\dist }
91+
92+
(Get-Content $nuspec).Replace('commit="' + $commit + '"', 'commit=""') | Set-Content $nuspec
8693
}
8794

8895
Task Deploy -depends Package {
8996

9097
foreach($project in $projects) {
91-
Exec { dotnet nuget push "..\dist\$project.*.nupkg" --api-key $apiKey }
98+
Exec { dotnet nuget push "..\dist\$project.*.nupkg" -k $apiKey -sk $apiKey -s "https://api.nuget.org/v3/index.json" }
9299
}
93100

94-
Exec { dotnet nuget push "..\dist\nhapi.3.2.0.nupkg" --api-key $apiKey }
95-
# Exec { .nuget\nuget push *.nupkg -Source https://api.nuget.org/v3/index.json }
101+
Exec { dotnet nuget push "..\dist\nhapi.3.*.nupkg" -k $apiKey -sk $apiKey -s "https://api.nuget.org/v3/index.json" }
96102
}

build/nHapi.v3.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<authors>Chad Chenoweth,Duane Edwards,Jake Aitchison</authors>
77
<license type="expression">MPL-2.0</license>
88
<projectUrl>https://github.com/nHapiNET/nHapi</projectUrl>
9-
<repository type="git" url="https://github.com/nHapiNET/nHapi.git" />
109
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1110
<description>NHapi is a port of the original project HAPI.
1211

@@ -17,6 +16,7 @@ This project is NOT affiliated with the HL7 organization. This software just con
1716
This nuget package is just a metapackage for conveniance.</description>
1817
<releaseNotes>https://github.com/nHapiNET/nHapi/releases/tag/v3.2.0</releaseNotes>
1918
<tags>HL7 ER7 XML parsing healthcare HAPI</tags>
19+
<repository type="git" url="https://github.com/nHapiNET/nHapi.git" commit=""/>
2020
<readme>docs\README.md</readme>
2121
<dependencies>
2222
<dependency id="nhapi.base" version="3.2.0" />

0 commit comments

Comments
 (0)