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

Build downloading stage0 every time on ubuntu. #5433

Closed
brthor opened this issue Mar 21, 2016 · 7 comments
Closed

Build downloading stage0 every time on ubuntu. #5433

brthor opened this issue Mar 21, 2016 · 7 comments
Assignees
Labels

Comments

@brthor
Copy link
Contributor

brthor commented Mar 21, 2016

Steps to reproduce

clone repo
./build.sh
./build.sh

Expected behavior

Downloads stage0 only the first time

Actual behavior

Downloads both times.

Environment data

dotnet --version output:

N/A, as of commit 1887

@Sridhar-MS
Copy link
Contributor

I fixed the commit issue dotnet/cli#1971

@brthor
Copy link
Contributor Author

brthor commented Mar 21, 2016

Is the commit issue related?

@Sridhar-MS
Copy link
Contributor

Nope.

@Sridhar-MS
Copy link
Contributor

The .version file location has moved to <install root>/sdk/<nugetversion>/.version from <install root>/.version.

Relevant code
https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/install.sh#L146

cc: @krwq

@krwq
Copy link
Member

krwq commented Mar 21, 2016

there is no way of reliably checking versions right now since there is more than one versioned folder inside zip. I will fix it once this story is figured out

@krwq krwq self-assigned this Mar 21, 2016
@brthor
Copy link
Contributor Author

brthor commented Mar 24, 2016

@krwq this should now be possible as of dotnet/cli#2022

http://dotnetcli.blob.core.windows.net/dotnet/beta/dnvm/latest.sharedfx.osx.x64.version

Would really speed up dev cycles with this in 😄

@krwq
Copy link
Member

krwq commented Mar 25, 2016

Should be solved with dotnet/cli#2041

@krwq krwq closed this as completed Mar 25, 2016
wli3 referenced this issue in wli3/cli Nov 14, 2018
…e/2.1.3xx

Merge release/2.1.2xx to release/2.1.3xx
@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants