Skip to content

Set version (tag = v{version}) only in one place  #331

Closed
@lobster2012-user

Description

Hi!
I'm trying to use together Nerdbank.GitVersioning and SourceLink (not supported tags now)
My vision of their perfect collaboration.

In one place I prescribe the version (prefix, suffix). For example in version.json
Then, if necessary, the tag is updated in the local repository(Automatically during build) (and remote), then a built-in link is generated ((in nupkg and .pdb) ,(to the repository and sources)).

Can I do that now?

Activity

AArnott

AArnott commented on May 12, 2019

@AArnott
Collaborator

I'm not sure what tags and versions have to do with SourceLink and PDBs. I use both SourceLink and NB.GV together all the time, but I don't think they intersect anywhere. SourceLink doesn't rely on tags -- it uses the git commit ID and remote URL.

changed the title Set version (tag) only in one place (+sourcelink) Set version (tag = v{version}) only in one place on May 12, 2019
lobster2012-user

lobster2012-user commented on May 12, 2019

@lobster2012-user
Author

Thank you for the answer.
Incorrectly formulated the question. I will still study the tool.

added a commit that references this issue on Jan 1, 2025

Merge pull request #331 from AArnott/fixTestResults

392ed3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Set version (tag = v{version}) only in one place · Issue #331 · dotnet/Nerdbank.GitVersioning