Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Store Environment Variable
run: echo "VERSION=v${{ steps.extract_version.outputs.info }}" >> $GITHUB_ENV
- name: Download release notes
run: curl -o release-notes.md https://drive.google.com/uc?export=download&id=1LdP8rvPZ9ra4mc4vmv3smcDwVD96Zwn8
run: curl -o release-notes.md "https://drive.google.com/uc?export=download&id=1LdP8rvPZ9ra4mc4vmv3smcDwVD96Zwn8" -L
- name: Create Tag
run: |
git config --global user.name "github-actions[bot]"
Expand Down
7 changes: 5 additions & 2 deletions src/Extensions/Span/String/Replace.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
#if !NET8_0_OR_GREATER // support for this method has been added in .Net 8. Just include it for backward-compatibility.

using System;

namespace SpanExtensions
{
Expand All @@ -22,4 +24,5 @@ public static void Replace<T>(this Span<T> source, T oldT, T newT) where T : IEq
}
}
}
}
}
#endif
2 changes: 1 addition & 1 deletion src/SpanExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageTags>Span;Performance;Extension;String</PackageTags>
<PackageReleaseNotes>https://github.com/draconware-dev/SpanExtensions.Net/blob/main/Changelog.md</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>1.4</Version>
<Version>1.4.1</Version>
<PackageId>SpanExtensions.Net</PackageId>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
Expand Down