-
-
Notifications
You must be signed in to change notification settings - Fork 969
Integrate with Nerdbank.GitVersioning #1299
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
Merged
Merged
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
317c38c
GeneratePackageOnBuild
scott-xu 4eb2360
Add packages to artifacts
scott-xu 1593dd2
Merge branch 'develop' into generate-nuget-package
scott-xu 3c0f4ed
Merge branch 'develop' into generate-nuget-package
scott-xu f33918a
Update src/Renci.SshNet/Renci.SshNet.csproj
scott-xu 8bad9d6
Merge branch 'develop' into generate-nuget-package
scott-xu e58ae57
Merge branch 'develop' into generate-nuget-package
scott-xu 2a74e7a
Update Renci.SshNet.csproj
scott-xu 2b47495
Merge branch 'develop' into generate-nuget-package
scott-xu 83f522d
Merge branch 'develop' into generate-nuget-package
scott-xu dc4deb3
Merge branch 'develop' into generate-nuget-package
scott-xu faae7d6
Delete build/nuget/SSH.NET.nuspec
scott-xu 196789c
Delete SSH.NET.nuspec from .sln file
scott-xu f0af300
Merge branch 'develop' into generate-nuget-package
scott-xu 28ad3c1
Update Renci.SshNet.csproj
scott-xu 366c324
Update build.proj
scott-xu 3efc902
init nbgv
scott-xu f4c3015
Merge branch 'generate-nuget-package' into nbgv
scott-xu 04a8c89
Include version.json in "Solution Items"
scott-xu 8ee48a4
Merge branch 'sshnet:develop' into nbgv
scott-xu 2536152
Update Directory.Build.props
scott-xu be998ee
define publicReleaseRefSpec
scott-xu 8035be2
update version.json
scott-xu 6b533b6
update version.json
scott-xu edf8dc6
set cloud build number
scott-xu e82fc75
fix https://github.com/sshnet/SSH.NET/issues/1292
scott-xu ea14cbe
remove unexpected code format
scott-xu 4585507
Delete version from csproj
scott-xu 5ab40ea
move nbgv from Directory.Build.props to Renci.SshNet.csproj as only t…
scott-xu 1fc5c65
Use package from CI feed
Rob-Hague 3c6a3e1
Merge branch 'develop' into nbgv
scott-xu a7905b8
Merge branch 'develop' into nbgv
scott-xu b5d92f3
Merge remote-tracking branch 'upstream/develop' into nbgv
Rob-Hague 7f4a63e
Bump version to 2024.0.1; Update version precision
scott-xu 2cd7031
Merge remote-tracking branch 'upstream/develop' into nbgv
Rob-Hague 9362bba
Some tweaks:
Rob-Hague a0bf4b1
Revert unnecessary test changes; remove unnecessary tests
Rob-Hague File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <configuration> | ||
| <packageSources> | ||
| <clear /> | ||
| <add key="nuget" value="https://api.nuget.org/v3/index.json" /> | ||
| <add key="andrewarnott" value="https://pkgs.dev.azure.com/andrewarnott/OSS/_packaging/PublicCI/nuget/v3/index.json" /> | ||
| </packageSources> | ||
|
|
||
| <!-- Define mappings by adding package patterns beneath the target source. --> | ||
| <!-- Nerdbank.GitVersioning will be restored from its CI feed, everything else from nuget.org. --> | ||
| <packageSourceMapping> | ||
| <!-- key value for <packageSource> should match key values from <packageSources> element --> | ||
| <packageSource key="nuget"> | ||
| <package pattern="*" /> | ||
| </packageSource> | ||
| <packageSource key="andrewarnott"> | ||
| <package pattern="Nerdbank.GitVersioning" /> | ||
| </packageSource> | ||
| </packageSourceMapping> | ||
| </configuration> |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,25 @@ | ||||||
| { | ||||||
| "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", | ||||||
| "version": "2024.0.0", | ||||||
| "publicReleaseRefSpec": [ | ||||||
| "^refs/heads/master$", // we release out of master | ||||||
| "^refs/tags/\\d{4}\\.\\d+\\.\\d+(-beta\\d+)?$" // we also release tags starting with year.minor.build[-betaN] | ||||||
| ], | ||||||
| "cloudBuild": { | ||||||
| "buildNumber": { | ||||||
| "enabled": true | ||||||
| } | ||||||
| }, | ||||||
| "assemblyVersion": { | ||||||
| "precision": "minor" | ||||||
| }, | ||||||
| "nugetPackageVersion": { | ||||||
| "precision": "minor" | ||||||
scott-xu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| }, | ||||||
| "release": { | ||||||
| "tagName" : "{version}", | ||||||
| "branchName" : "master", | ||||||
|
||||||
| "branchName" : "master", | |
| "branchName" : "release/{version}", |
Collaborator
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the curernt release is based on master branch with tag?
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.