Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update symbol package format #2018

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build-common/NHibernate.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<PackageReleaseNotes>https://github.com/nhibernate/nhibernate-core/blob/$(VersionPrefix)/releasenotes.txt</PackageReleaseNotes>
<RepositoryUrl>https://github.com/nhibernate/nhibernate-core.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<TreatSpecificWarningsAsErrors />
Expand Down
15 changes: 2 additions & 13 deletions default.build
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
commandline="src\NHibernate\nhibernate-mapping.xsd /classes /fields /order /namespace:NHibernate.Cfg.MappingSchema /out:src\NHibernate\Cfg\MappingSchema\"/>

</target>

<target name="nugetpushbat" depends="init binaries common.download-nuget nuget.set-properties"
description="Creates files for the release on nuget gallery.">

Expand All @@ -319,25 +319,14 @@
<in>
<items>
<include name="${nuget.nupackages.dir}/*.nupkg"/>
<exclude name="${nuget.nupackages.dir}/*.symbols.nupkg"/>
</items>
</in>
<do>
<echo message="nuget push -source https://nuget.org/ ${path::get-file-name(filename)} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
</do>
</foreach>
<foreach item="File" property="filename">
<in>
<items>
<include name="${nuget.nupackages.dir}/*.symbols.nupkg"/>
</items>
</in>
<do>
<echo message="nuget push -source https://nuget.smbsrc.net/ ${path::get-file-name(filename)} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
</do>
</foreach>
</target>

<target name="nugetpush" depends="init binaries common.download-nuget nuget.set-properties"
description="Push packages on nuget gallery.">
<!-- In order to use this task you have to be sure you have executed 'nuget SetApiKey' -->
Expand Down