Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
lobster2012-user opened this issue May 11, 2019 · 2 comments
Closed

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

lobster2012-user opened this issue May 11, 2019 · 2 comments
Labels

Comments

@lobster2012-user
Copy link

lobster2012-user commented May 11, 2019

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?

@AArnott
Copy link
Collaborator

AArnott commented May 12, 2019

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.

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

lobster2012-user commented May 12, 2019

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

github-actions bot pushed a commit that referenced this issue Jan 1, 2025
Take care to use proper slashes per OS for testing
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants