diff --git a/Build.ps1 b/Build.ps1 index 71b546e..7f9e7b3 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -17,7 +17,7 @@ $ref = $env:GITHUB_REF ?? "" $run = $env:GITHUB_RUN_NUMBER ?? "0" $branch = @{ $true = $ref.Substring($ref.LastIndexOf("/") + 1); $false = $(git symbolic-ref --short -q HEAD) }[$ref -ne ""]; $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $run, 10); $false = "local" }[$run -ne "0"]; -$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"] +$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "main" -and $revision -ne "local"] echo "build: Version suffix is $suffix" diff --git a/README.md b/README.md index 55c91bb..86e2e0f 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,20 @@ # Seq.App.Slack [![NuGet](https://img.shields.io/nuget/v/Seq.App.Slack.svg?style=flat-square)](https://www.nuget.org/packages/Seq.App.Slack/) -An app for [Seq](https://datalust.co/seq) that forwards messages to [Slack](https://slack.com). +Send events and notifications from [Seq](https://datalust.co/seq) to [Slack](https://slack.com). -### Getting started +## Getting started 1. Install the app into Seq through the Seq UI: _Settings_ > _Apps_ > _Install from NuGet_; the package id is _Seq.App.Slack_ 2. In Slack, select _Admin_ > _Apps and Workflows_ > _Build_ > _Create new App_ > _From Scratch_ - 3. In the app registration, choose _Incoming WebHooks_ (this is the new endpoint, not the legacy one) - 4. Add a new incoming webhook configuration and copy the _Webhook URL_ + 3. In the app registration, choose _Incoming Webhooks_ (this is the new endpoint, not the legacy one) + 4. Add a new incoming webhook configuration and copy the webhook URL 5. Back in Seq, under _Settings_ > _Apps_, select _Add Instance_ next to the Slack app icon 6. Configure the app instance, providing the webhook URL Consult the Seq documentation for further information about [installing Seq apps](https://docs.datalust.co/docs/installing-seq-apps). For more information see [Notifying with Slack](https://docs.datalust.co/docs/slack-notifications). + +## Acknowledgements + +Originally developed, and co-maintained by, https://github.com/bytenik. diff --git a/Seq.App.Slack.sln b/seq-app-slack.sln similarity index 100% rename from Seq.App.Slack.sln rename to seq-app-slack.sln diff --git a/seq-app-slack.sln.DotSettings b/seq-app-slack.sln.DotSettings new file mode 100644 index 0000000..cf702ec --- /dev/null +++ b/seq-app-slack.sln.DotSettings @@ -0,0 +1,7 @@ + + True + True + True + True + True + True \ No newline at end of file diff --git a/src/Seq.App.Slack/Seq.App.Slack.csproj b/src/Seq.App.Slack/Seq.App.Slack.csproj index 453bfee..66cc8e1 100644 --- a/src/Seq.App.Slack/Seq.App.Slack.csproj +++ b/src/Seq.App.Slack/Seq.App.Slack.csproj @@ -4,14 +4,15 @@ net8.0 2.0.0 An app for Seq that forwards events and notifications to Slack. - bytenik + bytenik, Datalust, and Contributors seq-app - https://github.com/bytenik/Seq.App.Slack - https://github.com/bytenik/Seq.App.Slack + https://github.com/datalust/seq-app-slack + https://github.com/datalust/seq-app-slack git True LICENSE + README.md seq-app-slack.png @@ -22,6 +23,7 @@ +