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

fix(core): resolved package version not provided #407

Conversation

dasco144
Copy link
Contributor

@dasco144 dasco144 commented Apr 5, 2022

Fixes an issue I came across while running the nuget reference generator.
Basically, the resolved version is not passed to addPackageReference on line 41.

@nx-cloud
Copy link

nx-cloud bot commented Apr 5, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 50f4069. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 5 targets

Sent with 💌 from NxCloud.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@@ -34,7 +34,7 @@ export default async function (
resolvedVersion !== options.version &&
resolvedVersion !== ALLOW_MISMATCH
) {
options.version = resolvedVersion;
params.version = resolvedVersion;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 20, do you care to add allowVersionMismatch to the destructure? It shouldn't be passed to dotnet.

Thats a leftover issue from my impl, and otherwise this looks good. thanks!

@AgentEnder AgentEnder changed the title fix: resolved package version not provided fix(core): resolved package version not provided Apr 13, 2022
@AgentEnder AgentEnder merged commit 9bbc7c1 into nx-dotnet:master Apr 13, 2022
@AgentEnder
Copy link
Member

@allcontributors add @dasco144 for code

@allcontributors
Copy link
Contributor

@AgentEnder

I've put up a pull request to add @dasco144! 🎉

github-actions bot pushed a commit that referenced this pull request Apr 13, 2022
## [1.9.10](v1.9.9...v1.9.10) (2022-04-13)

### Bug Fixes

* **core:** fall back to root if source root null ([#408](#408)) ([53bdc17](53bdc17))
* **core:** resolved package version not provided ([#407](#407)) ([9bbc7c1](9bbc7c1))
* **core:** test executor should fail properly ([#411](#411)) ([e2db293](e2db293))

Apr 13, 2022, 9:06 PM
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.9.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dasco144 dasco144 deleted the fix/resolved-package-version-not-provided branch April 20, 2022 14:25
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2023
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