Skip to content

Include runtime and sdk version as a build output of source-build #600

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

Open
dseefeld opened this issue Jun 8, 2018 · 4 comments
Open

Include runtime and sdk version as a build output of source-build #600

dseefeld opened this issue Jun 8, 2018 · 4 comments
Labels
area-build Improvements in source-build's own build process

Comments

@dseefeld
Copy link
Contributor

dseefeld commented Jun 8, 2018

This facilitates automation of package creation for distro maintainers.

cc @tmds

Related to #585

@dseefeld dseefeld added area-build Improvements in source-build's own build process triaged labels Jun 8, 2018
@omajid
Copy link
Member

omajid commented May 5, 2021

Does anyone have more context about this?

As a distro maintainer, I am okay with finding out the version from the tags that become available on github. It would be a nice-to-have if a build told me the SDK/ASP.NET/Runtime version at the end (in a structured, parseable format), but it's not a big deal (takes a few minutes a month).

I am guessing there are other benefits that I am missing. @tmds @crummel do you see any other use-cases/benefits of implementing this that make this more of a priority?

@crummel
Copy link
Contributor

crummel commented May 5, 2021

This is a prerequisite for a couple other items we have in mind - #747, #1610, and #2128 are the ones I can think of. I don't think it's urgent, but it's small, can be done now, and enables other scenarios, so that's why I put it in the first pass of automation improvements.

@omajid
Copy link
Member

omajid commented May 5, 2021

Thanks.

Do we need the versions to show up in a file or in the console/log? Or both?

@crummel
Copy link
Contributor

crummel commented May 5, 2021

I think a file since we'll want to use these in different CI steps, possibly even multiple files for ease of use - something like artifacts/build-info/{Runtime,Sdk,AspNet}Version.txt with just a single line each. Then in the YAML we can do something like

tarballName=dotnet-$(`cat RuntimeVersion.txt`)-$(`cat SdkVersion.txt`)

(a bit iffy on the syntax but it's something like that). @dseefeld @MichaelSimons any thoughts?

omajid added a commit to omajid/dotnet-source-build that referenced this issue May 6, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in a named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue May 6, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue Aug 23, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue Aug 23, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue Aug 24, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue Aug 24, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue Aug 24, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
omajid added a commit to omajid/dotnet-source-build that referenced this issue Aug 25, 2021
This makes it easier to visually confirm what was built:

    Build Info:
      SDK Version: 5.0.202
      ASP.NET Core Version: 5.0.5
      Runtime Version: 5.0.5

And also stores these values in named version files for later use.

Fixes: dotnet#600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-build Improvements in source-build's own build process
Projects
Status: Backlog
Development

No branches or pull requests

4 participants