Skip to content

Instantly share code, notes, and snippets.

@Vidarls
Last active October 27, 2015 07:47
Show Gist options
  • Save Vidarls/596bbdce0414e14e629b to your computer and use it in GitHub Desktop.
Save Vidarls/596bbdce0414e14e629b to your computer and use it in GitHub Desktop.
Simple example of reporting deployments to Raygun.io from a FAKE build script
// Module does not have AutoOpen
open Fake.RaygunHelper
RaygunHelper.ReportDeployment
//Setting up endpoint
(fun s -> {s with externalToken = "MyExternalAccessToken"})
//Sending data
(fun r ->
{r with
apiKey = "MyApplicationApiKey"
comment = "Release notes"
emailAddress = "deployer@me.com"
ownerName = "Deployer "
version = "1.2.3"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment