diff --git a/DisCatSharp.Docs/articles/important_changes/10_1_0.md b/DisCatSharp.Docs/articles/important_changes/10_1_0.md
index d797b1904..84e913059 100644
--- a/DisCatSharp.Docs/articles/important_changes/10_1_0.md
+++ b/DisCatSharp.Docs/articles/important_changes/10_1_0.md
@@ -1,136 +1,136 @@
---
uid: important_changes_10_1_0
title: Version 10.1.0
---
# Upgrade from **10.0.0** to **10.1.0**
## What is new in DisCatSharp?
- Rework of [ApplicationCommands](xref:api_discatsharp_applicationcommands_index)
- Support for [DiscordGuild.DisableInvitesAsync](xref:DisCatSharp.Entities.DiscordGuild#DisCatSharp_Entities_DiscordGuild_DisableInvitesAsync_System_String_)
- Full support for [Forum](xref:DisCatSharp.Enums.ChannelType) [Channels](xref:DisCatSharp.Entities.DiscordChannel)
-- Support for [Spotify](xref:DisCatSharp.Lavalink.LavalinkSearchType) and [Apple Music](xref:DisCatSharp.Lavalink.LavalinkSearchType) in [DisCatSharp.Lavalink](xref:api_discatsharp_lavalink_index)
+- Support for [Spotify](xref:DisCatSharp.Lavalink.LavalinkSearchType) and [Apple Music](xref:DisCatSharp.Lavalink.LavalinkSearchType) in [DisCatSharp.Lavalink](xref:api_discatsharp_lavalink_index). See [Lavalink Advanced Usage](xref:modules_audio_lavalink_advanced) for more information.
- Documentation has a bunch of new and reworked articles!
____
## What changed?
> [!WARNING]
> This release contains breaking changes. Please read the changelog carefully.
> Some bug fixes aren't noted here.
### All packages
NuGet packages now support [Source Link](https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink) & [Deterministic Builds](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation).
- Updated the NuGet specs to be compatible with NuGet Gallery.
- Changed PackageLicenseUrl to PackageLicenseFile and included the top-level [LICENSE.md](https://github.com/Aiko-IT-Systems/DisCatSharp/blob/main/LICENSE.md)
- Changed PackageIconUrl to PackageIcon and included [DisCatSharp.Logos/logobig.png](https://github.com/Aiko-IT-Systems/DisCatSharp/blob/main/DisCatSharp.Logos/logobig.png)
> [!CAUTION]
> We've fixed various namespaces. Please make sure to update your code accordingly.
### DisCatSharp
- Implemented Forum Channels
- Added fields to [DiscordChannel](xref:DisCatSharp.Entities.DiscordChannel):
- [PostCreateUserRateLimit](xref:DisCatSharp.Entities.DiscordChannel#DisCatSharp_Entities_DiscordChannel_PostCreateUserRateLimit)
- [DefaultReactionEmoji](xref:DisCatSharp.Entities.DiscordChannel#DisCatSharp_Entities_DiscordChannel_DefaultReactionEmoji) with the type of [ForumReactionEmoji](xref:DisCatSharp.Entities.ForumReactionEmoji)
- [AvailableTags](xref:DisCatSharp.Entities.DiscordChannel#DisCatSharp_Entities_DiscordChannel_AvailableTags)
- Added fields to [DiscordThreadChannel](xref:DisCatSharp.Entities.DiscordThreadChannel):
- [TotalMessagesSent](xref:DisCatSharp.Entities.DiscordThreadChannel#DisCatSharp_Entities_DiscordThreadChannel_TotalMessagesSent)
- [AppliedTags](xref:DisCatSharp.Entities.DiscordThreadChannel#DisCatSharp_Entities_DiscordThreadChannel_AppliedTags)
- Added entity [ForumPostTag](xref:DisCatSharp.Entities.ForumPostTag)
- Added function to create a forum through the guild entity [CreateForumChannelAsync](xref:DisCatSharp.Entities.DiscordGuild#DisCatSharp_Entities_DiscordGuild_CreateForumChannelAsync_System_String_DisCatSharp_Entities_DiscordChannel_DisCatSharp_Entities_Optional_System_String__IEnumerable_DisCatSharp_Entities_DiscordOverwriteBuilder__System_Nullable_System_Boolean__DisCatSharp_Entities_Optional_DisCatSharp_Entities_ForumReactionEmoji__DisCatSharp_Entities_Optional_System_Nullable_System_Int32___DisCatSharp_Entities_Optional_System_Nullable_System_Int32___DisCatSharp_ThreadAutoArchiveDuration_System_String_)
- Added functions to modify a forum channel [ModifyForumAsync](xref:DisCatSharp.Entities.DiscordChannel#DisCatSharp_Entities_DiscordChannel_ModifyForumAsync_Action_DisCatSharp_Net_Models_ForumChannelEditModel__)
- Added forum post tag operations on threads
- Added disable invites for [DiscordGuild](xref:DisCatSharp.Entities.DiscordGuild)
- Added new function [EnableInvitesAsync](xref:DisCatSharp.Entities.DiscordGuild#DisCatSharp_Entities_DiscordGuild_EnableInvitesAsync_System_String_)
- Added new function [DisableInvitesAsync](xref:DisCatSharp.Entities.DiscordGuild#DisCatSharp_Entities_DiscordGuild_DisableInvitesAsync_System_String_)
- The ordered channel methods and fields in [DiscordChannel](xref:DisCatSharp.Entities.DiscordChannel) now include Forum Channels
- Added [DiscordMember.DisconnectFromVoiceAsync](xref:DisCatSharp.Entities.DiscordMember#DisCatSharp_Entities_DiscordMember_DisconnectFromVoiceAsync)
- Added [Avatar Decorations](xref:DisCatSharp.Entities.DiscordUser#DisCatSharp_Entities_DiscordUser_AvatarDecorationUrl)
- Added [Theme Colors](xref:DisCatSharp.Entities.DiscordUser#DisCatSharp_Entities_DiscordUser_ThemeColors)
- Added support for the `X-Discord-Locale` Header in the [DiscordConfiguration](xref:DisCatSharp.DiscordConfiguration#DisCatSharp_DiscordConfiguration_Locale)
- Added support for sending component-only messages
- Implemented `ResumeGatewayUrl`
- Added [GuildFeatures](xref:DisCatSharp.Entities.GuildFeatures):
- [GuildHomeTest](xref:DisCatSharp.Entities.GuildFeatures#DisCatSharp_Entities_GuildFeatures_GuildHomeTest) (Experimental)
- [InvitesDisabled](xref:DisCatSharp.Entities.GuildFeatures#DisCatSharp_Entities_GuildFeatures_InvitesDisabled)
- Implemented DiscordWebhookBuilder.WithThreadName to create forum posts via a webhook
- Added [ApplicationFlags.ApplicationCommandBadge](xref:DisCatSharp.ApplicationFlags)
- Added a bypassCache option to [DiscordChannel.GetMessageAsync](xref:DisCatSharp.Entities.DiscordChannel#DisCatSharp_Entities_DiscordChannel_GetMessageAsync_System_UInt64_System_Boolean_)
- Added the new field `AppPermissions` to the interaction entity and the context entities.
- Added function [DiscordGuild.EnableMfaAsync](xref:DisCatSharp.Entities.DiscordGuild#DisCatSharp_Entities_DiscordGuild_EnableMfaAsync_System_String_)
- Added function [DiscordGuild.DisableMfaAsync](xref:DisCatSharp.Entities.DiscordGuild#DisCatSharp_Entities_DiscordGuild_DisableMfaAsync_System_String_)
- Reworked component result for modal submits [*DC1](xref:important_changes_10_1_0#dc1)
- Reworked [DiscordIntegration](xref:DisCatSharp.Entities.DiscordIntegration) to include the new fields
- Added [SubscriberCount](xref:DisCatSharp.Entities.DiscordIntegration#DisCatSharp_Entities_DiscordIntegration_SubscriberCount)
- Added [Revoked](xref:DisCatSharp.Entities.DiscordIntegration#DisCatSharp_Entities_DiscordIntegration_Revoked)
- Added [Application](xref:DisCatSharp.Entities.DiscordIntegration#DisCatSharp_Entities_DiscordIntegration_Application)
- Added [Scopes](xref:DisCatSharp.Entities.DiscordIntegration#DisCatSharp_Entities_DiscordIntegration_Scopes)
- Removed int ExpireBehavior
- Added [ExpireBehavior](xref:DisCatSharp.Entities.DiscordIntegration#DisCatSharp_Entities_DiscordIntegration_ExpireBehavior) as new enum [IntegrationExpireBehavior](xref:DisCatSharp.Enums.IntegrationExpireBehavior)
- Reworked [DiscordConnection](xref:DisCatSharp.Entities.DiscordConnection) to include the new fields
* Removed int Visibility
* Added [Visibility](xref:DisCatSharp.Entities.DiscordConnection#DisCatSharp_Entities_DiscordConnection_Visibility) as new enum [ConnectionVisibilityType](xref:DisCatSharp.Enums.ConnectionVisibilityType)
* Added [TwoWayLink](xref:DisCatSharp.Entities.DiscordConnection#DisCatSharp_Entities_DiscordConnection_TwoWayLink)
- [DiscordClient.ReconnectAsync](xref:DisCatSharp.DiscordClient#DisCatSharp_DiscordClient_ReconnectAsync_System_Boolean_) param startNewSession now defaults to `true`
- Moved guild related enums from the [DisCatSharp](xref:DisCatSharp) to the [DisCatSharp.Enums](xref:DisCatSharp.Enums) namespace
- Fixed webhooks for threads
- Dropped support for channel banners, it sadly never made its way into discord
### DisCatSharp.ApplicationCommands
- Added support for slash commands in shards
- Added Translation Generator & Exporter (see [here](xref:DisCatSharp.ApplicationCommands.ApplicationCommandsConfiguration#DisCatSharp_ApplicationCommands_ApplicationCommandsConfiguration_GenerateTranslationFilesOnly))
- Added [DiscordClient.RemoveGlobalApplicationCommandsAsync](xref:DisCatSharp.DiscordClient#DisCatSharp_DiscordClient_RemoveGlobalApplicationCommandsAsync)
- Implemented support for minimum_length and maximum_length for application command options
- Added [MinimumLengthAttribute](xref:DisCatSharp.ApplicationCommands.Attributes.MinimumLengthAttribute). Minimum `int` if set: 0. Valid for: `string`
- Added [MaximumLengthAttribute](xref:DisCatSharp.ApplicationCommands.Attributes.MaximumLengthAttribute). Minimum `int` if set: 1. Valid for: `string`
- Changed namespaces
* [DisCatSharp.ApplicationCommands](xref:DisCatSharp.ApplicationCommands)
* [DisCatSharp.ApplicationCommands.Attributes](xref:DisCatSharp.ApplicationCommands.Attributes)
* [DisCatSharp.ApplicationCommands.Context](xref:DisCatSharp.ApplicationCommands.Context)
* [DisCatSharp.ApplicationCommands.Exceptions](xref:DisCatSharp.ApplicationCommands.Exceptions)
- Renamed MinimumAttribute to [MinimumValueAttribute](xref:DisCatSharp.ApplicationCommands.Attributes.MinimumValueAttribute). Valid for: `int`, `long` & `double`
- Renamed MaximumAttribute & [MaximumValueAttribute](xref:DisCatSharp.ApplicationCommands.Attributes.MaximumValueAttribute). Valid for: `int`, `long` & `double`
- Proper exception log when registering app commands fails
- Reworked [translation](xref:modules_application_commands_translations_using) for application commands
- Reworked application command registration
- Fixed `DmPermissions` check for Application Commands on registration
- Fixed double interaction bug
- Fixed `int` > `long` cast exception
- Fixed a bug where the default help command would not work if auto defer was enabled
- Various bug fixes
- Removed `ApplicationCommandsExtension.CleanGuildCommandsAsync()`
- Removed `ApplicationCommandsExtension.CleanGlobalCommandsAsync()`
### DisCatSharp.Lavalink
- Added support for apple music & spotify search
____
## Other changes
Please compare the commits on [GitHub](https://github.com/Aiko-IT-Systems/DisCatSharp/compare/10.0.0...v10.1.0)
## Information to other [Discord Features](https://discord.com/developers/docs/change-log)
- We won't implement AutoMod for a while, as it takes a lot of time to implement and we don't have the time for it right now.
- DiscordMember Timeout Events are still buggy, we have it on our list of bugs to fix, but it's not a priority right now.
## Diff Changes
### DC1
DiscordInteractionData:
Pulled up the component results from modal submits for easier access
```diff
- IEnumerable Options
+ IReadOnlyList Options
- IEnumerable Components
+ IReadOnlyList Components
```
DiscordActionRowComponentResult:
```diff
- List Components
+ IReadOnlyList Components
```
diff --git a/DisCatSharp.Docs/articles/modules/audio/lavalink/advanced.md b/DisCatSharp.Docs/articles/modules/audio/lavalink/advanced.md
new file mode 100644
index 000000000..c276d630b
--- /dev/null
+++ b/DisCatSharp.Docs/articles/modules/audio/lavalink/advanced.md
@@ -0,0 +1,98 @@
+---
+uid: modules_audio_lavalink_advanced
+title: Lavalink Advanced
+---
+
+# Advanced Lavalink Usage
+
+Given the new possibilities to use Lavalink with Spotify and Apple Music, we go a bit deeper into this topic here.
+
+## Preamble
+For this to work, you need the following plugin installed in your Lavalink server: https://github.com/Topis-Lavalink-Plugins/Topis-Source-Managers-Plugin
+
+
+## Setup
+
+General config:
+```yml
+lavalink:
+ plugins:
+ - dependency: "com.github.Topis-Lavalink-Plugins:Topis-Source-Managers-Plugin:vx.x.x" # replace vx.x.x with the latest release tag!
+ repository: "https://jitpack.io"
+[..]
+plugins:
+ topissourcemanagers:
+ providers: # Custom providers for track loading. This is the default
+ - "ytsearch:\"%ISRC%\"" # Will be ignored if track does not have an ISRC. See https://esearch.wikipedia.org/wiki/International_Standard_Recording_Code
+ - "ytsearch:%QUERY%" # Will be used if track has no ISRC or no track could be found for the ISRC
+ # - "scsearch:%QUERY%" you can add multiple other fallback sources here
+ sources:
+ spotify: true # Enable Spotify source
+ applemusic: true # Enable Apple Music source
+```
+
+### Spotify Setup
+```yml
+plugins:
+ topissourcemanagers:
+[..]
+ spotify:
+ clientId: "your client id"
+ clientSecret: "your client secret"
+ countryCode: "US" # the country code you want to use for filtering the artists top tracks. See https://esearch.wikipedia.org/wiki/ISO_3166-1_alpha-2
+```
+
+### Apple Music Setup
+```yml
+plugins:
+ topissourcemanagers:
+[..]
+ applemusic:
+ countryCode: "US" # the country code you want to use for filtering the artists top tracks and language. See https://esearch.wikipedia.org/wiki/ISO_3166-1_alpha-2
+```
+
+## Usage
+
+### Client Configuration
+You don't have to configure anything directly in DisCatSharp.Lavalink.
+
+### Code Snippets
+```cs
+// We got the search as string from xy already
+string search = "spsearch:Shooting Stars";
+// Node connection is already defined.
+LavalinkNodeConnection nodeConnection;
+
+// We set YouTube as default search type because it's the most common one.
+var type = LavalinkSearchType.Youtube;
+if (search.StartsWith("ytsearch:"))
+{
+ search = search.Replace("ytsearch:", "");
+ type = LavalinkSearchType.Youtube;
+}
+else if (search.StartsWith("scsearch:"))
+{
+ search = search.Replace("ytsearch:", "");
+ type = LavalinkSearchType.SoundCloud;
+}
+else if (search.StartsWith("spsearch:"))
+{
+ search = search.Replace("spsearch:", "");
+ type = LavalinkSearchType.Spotify;
+}
+else if (search.StartsWith("amsearch:"))
+{
+ search = search.Replace("amsearch:", "");
+ type = LavalinkSearchType.AppleMusic;
+}
+
+// This function gives us a result from Lavalink.
+LavalinkLoadResult result = await nodeConnection.Rest.GetTracksAsync(search, type);
+
+// Internally Lavalink searches the Spotify api, and then searches YouTube for the result.
+// We can now use the result and play the song.
+// Same for Apple Music.
+```
+## Conclusion
+
+This is the most basic example of how to use the new Lavalink features. You can find more information in the Lavalink plugin docs: https://github.com/Topis-Lavalink-Plugins/Topis-Source-Managers-Plugin#usage
diff --git a/DisCatSharp.Docs/articles/toc.yml b/DisCatSharp.Docs/articles/toc.yml
index cbd3633f3..39d9f30a6 100644
--- a/DisCatSharp.Docs/articles/toc.yml
+++ b/DisCatSharp.Docs/articles/toc.yml
@@ -1,119 +1,121 @@
- name: Preamble
href: preamble.md
- name: Changelog
items:
- name: Version 10.1.0
href: important_changes/10_1_0.md
- name: Version 10.0.0
href: important_changes/10_0_0.md
- name: Version 9.9.0
href: important_changes/9_9_0.md
- name: Version 9.8.5
href: important_changes/9_8_5.md
- name: Version 9.8.4
href: important_changes/9_8_4.md
- name: Version 9.8.3
href: important_changes/9_8_3.md
- name: Version 9.8.2
href: important_changes/9_8_2.md
- name: The Basics
items:
- name: Creating a Bot Account
href: basics/bot_account.md
- name: Writing Your First Bot
href: basics/first_bot.md
- name: Bot as Hosted Service
href: basics/web_app.md
- name: Project Templates
href: basics/templates.md
- name: Beyond Basics
items:
- name: Events
href: beyond_basics/events.md
- name: Logging
href: beyond_basics/logging/default.md
items:
- name: The Default Logger
href: beyond_basics/logging/default.md
- name: Third Party Loggers
href: beyond_basics/logging/third_party.md
- name: Dependency Injection Loggers
href: beyond_basics/logging/di.md
- name: Intents
href: beyond_basics/intents.md
- name: Sharding
href: beyond_basics/sharding.md
- name: Message Builder
href: beyond_basics/messagebuilder.md
- name: Components
items:
- name: Buttons
href: beyond_basics/components/buttons.md
- name: Select Menu
href: beyond_basics/components/select_menus.md
- name: Workarounds
href: beyond_basics/workarounds.md
- name: Modules
items:
- name: Application Commands
items:
- name: Introduction
href: modules/application_commands/intro.md
- name: Options
href: modules/application_commands/options.md
- name: Events
href: modules/application_commands/events.md
- name: Translations
items:
- name: Using Translations
href: modules/application_commands/translations/using.md
- name: Translation Reference
href: modules/application_commands/translations/reference.md
- name: Modals
href: modules/application_commands/modals.md
- name: Paginated Modals
href: modules/application_commands/paginated_modals.md
- name: CommandsNext
items:
- name: Introduction
href: modules/commandsnext/intro.md
- name: Command Attributes
href: modules/commandsnext/command_attributes.md
- name: Dependency Injection
href: modules/commandsnext/dependency_injection.md
- name: Customization
items:
- name: Help Formatter
href: modules/commandsnext/help_formatter.md
- name: Argument Converters
href: modules/commandsnext/argument_converters.md
- name: Command Handler
href: modules/commandsnext/command_handler.md
- name: Audio
items:
- name: Lavalink
items:
- name: Setup
href: modules/audio/lavalink/setup.md
- name: Configuration
href: modules/audio/lavalink/configuration.md
- name: Music Commands
href: modules/audio/lavalink/music_commands.md
+ - name: Advanced
+ href: modules/audio/lavalink/advanced.md
- name: VoiceNext
items:
- name: Prerequisites
href: modules/audio/voicenext/prerequisites.md
- name: Transmitting
href: modules/audio/voicenext/transmit.md
- name: Receiving
href: modules/audio/voicenext/receive.md
- name: Interactivity
href: modules/interactivity.md
- name: Miscellaneous
items:
- name: Nightly Builds
href: misc/nightly_builds.md
- name: Reporting Issues
href: misc/reporting_issues.md
- name: Hosting
href: misc/hosting.md
diff --git a/appveyor.yml b/appveyor.yml
index f9ed36d44..ba16ccca4 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,140 +1,140 @@
-
branches:
only:
- - main
+ - disabled
version: 10.1.1-nightly-{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
max_jobs: 1
image: Visual Studio 2022
clone_depth: 1
build_script:
- ps: |-
# Version number
$BUILD_NUMBER = [int]$Env:APPVEYOR_BUILD_NUMBER
$BUILD_SUFFIX = "nightly"
# Branch
$BRANCH = "$Env:APPVEYOR_REPO_BRANCH"
$Env:DOCFX_SOURCE_BRANCH_NAME = "$BRANCH"
# Output directory
$Env:ARTIFACT_DIR = ".\artifacts"
$dir = New-Item -type directory $env:ARTIFACT_DIR
$dir = $dir.FullName
# Verbosity
Write-Host "Build: $BUILD_NUMBER / Branch: $BRANCH"
Write-Host "Artifacts will be placed in: $dir"
# Check if this is a PR
if (-not $Env:APPVEYOR_PULL_REQUEST_NUMBER)
{
Write-Host "Commencing complete build"
& .\rebuild-all.ps1 -ArtifactLocation "$dir" -Configuration "Release" -VersionSuffix "$BUILD_SUFFIX" -BuildNumber $BUILD_NUMBER
& Remove-Item "$dir\*.symbols.nupkg"
}
else
{
Write-Host "Building from PR ($Env:APPVEYOR_PULL_REQUEST_NUMBER)"
& .\rebuild-all.ps1 -ArtifactLocation "$dir" -Configuration "Release" -VersionSuffix "$BUILD_SUFFIX" -BuildNumber $BUILD_NUMBER
& Remove-Item "$dir\*.symbols.nupkg"
}
artifacts:
- path: artifacts\*.snupkg
- path: artifacts\*.nupkg
- path: artifacts\dcs-docs.tar.xz
deploy:
- provider: NuGet
server:
api_key:
secure: RjohrwOJE0RgzgIfe71AH42hRr7aZnEz5So/EKRI1FM7LQ/SLrEwSTDsNEQWMQik
skip_symbols: false
- provider: GitHub
auth_token:
secure: oMF8sv9mhVjO7pBctQOwlmfd5aHQ4hvMoVCz77bgO9+1zBQSelPHxk0bCVfXNCCp
prerelease: true
force_update: true
- provider: NuGet
server: https://nuget.pkg.github.com/Aiko-IT-Systems/index.json
username: lulalaby
api_key:
secure: SBGo8KrGJ7t5wwMNHKD0WSzrQ+PLJbqXE3FtDH2yGkSrQewO+kzmwp/xGk5a84He
skip_symbols: true
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL
# Releases
-
branches:
only:
- - /release/
+ - /fuck/
version: 10.1.0
pull_requests:
do_not_increment_build_number: true
skip_tags: true
max_jobs: 1
image: Visual Studio 2022
clone_depth: 1
build_script:
- ps: |-
# Version number
$BUILD_NUMBER = [int]$Env:APPVEYOR_BUILD_NUMBER
# Branch
$BRANCH = "$Env:APPVEYOR_REPO_BRANCH"
$Env:DOCFX_SOURCE_BRANCH_NAME = "$BRANCH"
# Output directory
$Env:ARTIFACT_DIR = ".\artifacts"
$dir = New-Item -type directory $env:ARTIFACT_DIR
$dir = $dir.FullName
# Verbosity
Write-Host "Build: $BUILD_NUMBER / Branch: $BRANCH"
Write-Host "Artifacts will be placed in: $dir"
# Check if this is a PR
if (-not $Env:APPVEYOR_PULL_REQUEST_NUMBER)
{
Write-Host "Commencing complete build"
& .\rebuild-all.ps1 -ArtifactLocation "$dir" -Configuration "Release" -VersionSuffix "$BUILD_SUFFIX" -BuildNumber $BUILD_NUMBER
& Remove-Item "$dir\*.symbols.nupkg"
}
else
{
Write-Host "Building from PR ($Env:APPVEYOR_PULL_REQUEST_NUMBER)"
& .\rebuild-all.ps1 -ArtifactLocation "$dir" -Configuration "Release" -VersionSuffix "$BUILD_SUFFIX" -BuildNumber $BUILD_NUMBER
& Remove-Item "$dir\*.symbols.nupkg"
}
artifacts:
- path: artifacts\*.snupkg
- path: artifacts\*.nupkg
- path: artifacts\dcs-docs.tar.xz
deploy:
- provider: NuGet
server:
api_key:
secure: RjohrwOJE0RgzgIfe71AH42hRr7aZnEz5So/EKRI1FM7LQ/SLrEwSTDsNEQWMQik
skip_symbols: false
- provider: GitHub
auth_token:
secure: oMF8sv9mhVjO7pBctQOwlmfd5aHQ4hvMoVCz77bgO9+1zBQSelPHxk0bCVfXNCCp
prerelease: false
force_update: true
- provider: NuGet
server: https://nuget.pkg.github.com/Aiko-IT-Systems/index.json
username: lulalaby
api_key:
secure: SBGo8KrGJ7t5wwMNHKD0WSzrQ+PLJbqXE3FtDH2yGkSrQewO+kzmwp/xGk5a84He
skip_symbols: true
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL