Skip to content

Commit abc1fc9

Browse files
authored
Merge pull request #22 from draconware-dev/dev
Version 1.4.1
2 parents 05eebe5 + 0d5e852 commit abc1fc9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Store Environment Variable
4949
run: echo "VERSION=v${{ steps.extract_version.outputs.info }}" >> $GITHUB_ENV
5050
- name: Download release notes
51-
run: curl -o release-notes.md https://drive.google.com/uc?export=download&id=1LdP8rvPZ9ra4mc4vmv3smcDwVD96Zwn8
51+
run: curl -o release-notes.md "https://drive.google.com/uc?export=download&id=1LdP8rvPZ9ra4mc4vmv3smcDwVD96Zwn8" -L
5252
- name: Create Tag
5353
run: |
5454
git config --global user.name "github-actions[bot]"

src/Extensions/Span/String/Replace.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using System;
1+
#if !NET8_0_OR_GREATER // support for this method has been added in .Net 8. Just include it for backward-compatibility.
2+
3+
using System;
24

35
namespace SpanExtensions
46
{
@@ -22,4 +24,5 @@ public static void Replace<T>(this Span<T> source, T oldT, T newT) where T : IEq
2224
}
2325
}
2426
}
25-
}
27+
}
28+
#endif

src/SpanExtensions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<PackageTags>Span;Performance;Extension;String</PackageTags>
2323
<PackageReleaseNotes>https://github.com/draconware-dev/SpanExtensions.Net/blob/main/Changelog.md</PackageReleaseNotes>
2424
<PackageLicenseFile>LICENSE</PackageLicenseFile>
25-
<Version>1.4</Version>
25+
<Version>1.4.1</Version>
2626
<PackageId>SpanExtensions.Net</PackageId>
2727
<PackageReadmeFile>README.md</PackageReadmeFile>
2828
<PackageIcon>icon.png</PackageIcon>

0 commit comments

Comments
 (0)