Skip to content

Build a new release

Gert Driesen edited this page May 17, 2020 · 20 revisions

Prepare master branch

For SSH.NET we're always building our releases from the master branch, hence the following steps need to be taken to prepare this branch:

  1. Ensure any commits that are part of the scope of the release, are merged from the develop branch to the master branch.
  2. Switch to the master branch.
  3. Update the following custom attributes in src/Renci.SshNet/Properties:
    • AssemblyCopyright
    • AssemblyVersion
    • AssemblyFileVersion
    • AssemblyInformationalVersion
  4. Commit and push changes to master branch.

Build classic TFM support

  1. Launch VM containing necessary software for building the assemblies for classic target framework.
  2. Switch to master branch.
  3. Make sure you have no local changes.
  4. Pull any changes from remote.
  5. Start a Developer Command Prompt for VS2015.
  6. Navigate to the Build folder of the SSH.NET checkout directory.
  7. Execute the following command:

msbuild /p:ReleaseVersion= /t:CleanClassic /t:PreparePackageClassic

  1. Copy the content of the <SSH.NET checkout>/Build/target/nuget-<version> folder to your host machine.
Clone this wiki locally