Bugsnag can be built either using a local Windows build environment or by using AppVeyor.
Use chocolately to install the following build tools
choco install psake
choco install pscx
choco install nuget.commandline
- Download Git repo of Bugsnag
- Edit file
build\build.ps1
and set the version of the build (near the top of the file)
$default_version = "1.2.3.4"
- Execute
build\build.bat
The build will produce the following structure in the build
folder
+-- output
+-- bin
+-- nuget
+-- test
--- bugsnag.{version}.zip
--- Bugsnag.{version}.nupkg
--- BugsnagMono.{version}.nupkg
bin
folder - Contains all binaries for specified configurationsnuget
folder - Contains the files used to create the nuget packagestest
folder - Contains all binaries used when testing the buildbugsnag.{version}.zip
- Archive of binaries (basically just thebin
folder zipped up)Bugsnag.{version}.nupkg
- Nuget package for BugsnagBugsnagMono.{version}.nupkg
- Nuget package for Mono compatible version of Bugsnag
Run build\cleanbuild.bat
to remove the previous builds output
- Commit the change. This should kick off a build on AppVeyor (if configured correctly). Otherwise you can manually kick off a build via the website.
- Update the CHANGELOG.md
- Update the version of the build in
appveyor.yml
, located in the root directory. - Push the change, this should kick off a build.
- Tag master with the correct version
git tag v1.1.0; git push --tags
- Download the nuget packages and zip file containing the binaries in the ARTIFACTS section.
- Upload the packages to nuget
- Upload the packages to github and perform a github release