Skip to content

Commit 6e17b76

Browse files
Merge pull request #1618 from fredericDelaporte/releaseFix
Fix NuGet push script
2 parents 4240379 + da59cf5 commit 6e17b76

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

ReleaseProcedure.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ Tools\gitreleasemanager.0.7.0\tools\GitReleaseManager.exe create -o nhibernate -
3636
* Upload binary and source zip files to SourceForge. Update the "latest
3737
release".
3838

39-
* Update download link on nhibernate.info.
39+
* Update download link on nhibernate.info. Update the reference documentation
40+
if needed.
4041

4142
* Push nuget packages including the symbol packages.
4243

4344
* In GitHub, mark the milestone as released and publish the release draft,
4445
creating the release tag by the way. (It should match the tag in the
45-
releasenots link of the release description.)
46+
releasenotes link of the release description.)
4647

4748
* Post release announcement to nhusers, nhibernate-development and as
4849
project news on SourceForge.

default.build

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,21 @@
319319
<in>
320320
<items>
321321
<include name="${nuget.nupackages.dir}/*.nupkg"/>
322+
<exclude name="${nuget.nupackages.dir}/*.symbols.nupkg"/>
322323
</items>
323324
</in>
324325
<do>
325-
<echo message="nuget push ${filename} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
326+
<echo message="nuget push -source https://nuget.org/ ${path::get-file-name(filename)} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
327+
</do>
328+
</foreach>
329+
<foreach item="File" property="filename">
330+
<in>
331+
<items>
332+
<include name="${nuget.nupackages.dir}/*.symbols.nupkg"/>
333+
</items>
334+
</in>
335+
<do>
336+
<echo message="nuget push -source https://nuget.smbsrc.net/ ${path::get-file-name(filename)} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
326337
</do>
327338
</foreach>
328339
</target>

0 commit comments

Comments
 (0)