Repository: reef Updated Branches: refs/heads/master c93e1219c -> 8dc333136
[REEF-2009] Replace Version tag with VersionPrefix and VersionSuffix This changes the Version tag in the props file to now be specified with VersionPrefix and VersionSuffix. VersionPrefix is now the main version of REEF while VersionSuffix is the SNAPSHOT information if set as a SNAPSHOT build. JIRA: [REEF-2009](https://issues.apache.org/jira/browse/REEF-2009) Pull Request: This closes #1449 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/8dc33313 Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/8dc33313 Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/8dc33313 Branch: refs/heads/master Commit: 8dc333136811f22eaac943da8d1d69b6bedcada0 Parents: c93e121 Author: Scott Inglis <[email protected]> Authored: Tue Apr 24 10:47:19 2018 -0700 Committer: Markus Weimer <[email protected]> Committed: Wed Apr 25 13:17:38 2018 -0700 ---------------------------------------------------------------------- lang/cs/build.Common.DotNet.props | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/8dc33313/lang/cs/build.Common.DotNet.props ---------------------------------------------------------------------- diff --git a/lang/cs/build.Common.DotNet.props b/lang/cs/build.Common.DotNet.props index e713cbe..7664c72 100644 --- a/lang/cs/build.Common.DotNet.props +++ b/lang/cs/build.Common.DotNet.props @@ -17,7 +17,11 @@ under the License. --> <PropertyGroup> - <Version>0.17.0</Version> + <SnapshotNumber>01</SnapshotNumber> + <IsSnapshot>true</IsSnapshot> + <VersionPrefix>0.17.0</VersionPrefix> + <VersionSuffix Condition="'$(IsSnapshot)' == true">SNAPSHOT-$(SnapshotNumber)</VersionSuffix> + <Authors>Apache Software Foundation</Authors> <Owners>The Apache REEF project</Owners> <Product>Apache REEF</Product> @@ -32,8 +36,6 @@ under the License. <RepositoryUrl>https://github.com/apache/reef.git</RepositoryUrl> <PackageReleaseNotes>Contact the Apache REEF development alias [email protected] for questions or issues.</PackageReleaseNotes> <DefaultItemExcludes>$(DefaultItemExcludes);**/AssemblyInfo.cs;**/Resources.xml;packages.config;*.nuspec</DefaultItemExcludes> - <IsSnapshot>true</IsSnapshot> - <SnapshotNumber>01</SnapshotNumber> </PropertyGroup> <PropertyGroup>
