Skip to content
This repository was archived by the owner on Aug 4, 2022. It is now read-only.

[REEF-115] Pull NuGet version from lang/cs/pom.xml file.#93

Closed
tmajest wants to merge 5 commits intoapache:masterfrom
Microsoft-CISL:REEF-115
Closed

[REEF-115] Pull NuGet version from lang/cs/pom.xml file.#93
tmajest wants to merge 5 commits intoapache:masterfrom
Microsoft-CISL:REEF-115

Conversation

@tmajest
Copy link
Contributor

@tmajest tmajest commented Feb 27, 2015

JIRA: [REEF-115]

Pull NuGet version from lang/cs/pom.xml file.

The Nuspec files for REEF projects live in each project directory. The Nuspec files reference other REEF projects and do not yet contain version information. Typically, you pass -Version [version] into the NuGet pack command to update version information in Nuspec files. However, this will only update the $version$ token for the package itself, not for all of dependencies in the dependencies list. This means we have to manually replace the $version$ token for each REEF project in the dependencies list in the project's nuspec file.

This fix will pull the Nuspec files into a temporary location /lang/cs/.nuget/nuspec, extract the version string from /lang/cs/pom.xml, and replace all $version$ tokens in the Nuspec files with the extracted version string. These finalized nuspec files are then used to create the NuGet packages.

The packages are then copied to /lang/cs/.nuget/packages, but can also be found under the project's corresponding directory under /lang/cs/bin.

@tmajest tmajest changed the title Reef 115 [REEF-15]: Pull NuGet version from lang/cs/pom.xml file. Feb 27, 2015
@asfbot
Copy link

asfbot commented Feb 27, 2015

Reef-pull-request-windows #124 SUCCESS
This pull request looks good

@asfbot
Copy link

asfbot commented Feb 27, 2015

Reef-pull-request-ubuntu #287 SUCCESS
This pull request looks good

@tmajest tmajest changed the title [REEF-15]: Pull NuGet version from lang/cs/pom.xml file. [REEF-115] Pull NuGet version from lang/cs/pom.xml file. Feb 27, 2015
@asfbot
Copy link

asfbot commented Feb 27, 2015

Reef-pull-request-windows #125 SUCCESS
This pull request looks good

@asfbot
Copy link

asfbot commented Feb 27, 2015

Reef-pull-request-ubuntu #288 SUCCESS
This pull request looks good

@asfgit asfgit closed this in 73fe005 Feb 27, 2015
@markusweimer markusweimer deleted the REEF-115 branch April 7, 2015 22:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments