Skip to content

Commit ad328d4

Browse files
Merge pull request #46 from AristurtleDev/release
[HotFix] Version 4.0.2 Resolves the following issues - Fixed XML docs not included in NuGet leading to no intellesense. (Closes #44) - Fixed RawTexture.Height property being internal by making it public (Closes #45)
2 parents 2b40649 + 36c660e commit ad328d4

File tree

8 files changed

+25
-74
lines changed

8 files changed

+25
-74
lines changed

.github/ISSUE_TEMPLATE/01_bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ body:
5959
Please provide any other information you think would be relaxant that would not be included in the above.
6060
placeholder: Other Information
6161
validations:
62-
required: true
62+
required: false

.github/release-notes.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
## Bug Fixes
2-
- Fixed XML docs not included in NuGet leading to no intellesense. (Closes #44)
2+
- Fixed XML docs not included in NuGet leading to no intellesense. (Closes #44)
3+
- Fixed RawTexture.Height property being internal by making it public (Closes #45)

.github/workflows/publish.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.tools/GitVersion.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.tools/build.cake

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#tool "dotnet:?package=GitVersion.Tool&version=5.10.3"
21
#nullable enable
32
///////////////////////////////////////////////////////////////////////////////
43
/// Arguments
@@ -21,7 +20,9 @@ string version = string.Empty;
2120

2221
Setup((context) =>
2322
{
24-
// Turn on xml document generation for docs task
23+
version = XmlPeek("../source/MonoGame.Aseprite/MonoGame.Aseprite.csproj", "//Version");
24+
Information($"Version: {version}");
25+
2526
if(target is "Docs" || generateDocs)
2627
{
2728
XmlPoke("../source/MonoGame.Aseprite/MonoGame.Aseprite.csproj", "//GenerateDocumentationFile", "True");
@@ -44,6 +45,10 @@ Teardown((context) =>
4445
///////////////////////////////////////////////////////////////////////////////
4546
/// Tasks
4647
///////////////////////////////////////////////////////////////////////////////
48+
Task("Version")
49+
.Description("Displays the parsed version number used for builds and publish")
50+
.Does(() => Information($"Version: {version}"));
51+
4752
Task("Clean")
4853
.WithCriteria(clean)
4954
.Does(() =>
@@ -64,19 +69,7 @@ Task("Restore")
6469
DotNetRestore("../tests/MonoGame.Aseprite.Tests/MonoGame.Aseprite.Tests.csproj");
6570
});
6671

67-
Task("Version")
68-
.Does(() =>
69-
{
70-
GitVersionSettings settings = new();
71-
settings.UpdateAssemblyInfo = true;
72-
73-
GitVersion gitVersion = GitVersion(settings);
74-
version = gitVersion.NuGetVersionV2;
75-
Information($"Version: {version}");
76-
});
77-
7872
Task("Build")
79-
.IsDependentOn("Version")
8073
.Does(() =>
8174
{
8275
DotNetMSBuildSettings msBuildSettings = new();
@@ -401,7 +394,6 @@ Task("Docs")
401394
Task("Default")
402395
.IsDependentOn("Clean")
403396
.IsDependentOn("Restore")
404-
.IsDependentOn("Version")
405397
.IsDependentOn("Build")
406398
.IsDependentOn("Test");
407399

source/MonoGame.Aseprite.Content.Pipeline/MonoGame.Aseprite.Content.Pipeline.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<GenerateDocumentationFile>False</GenerateDocumentationFile>
7+
<Version>4.0.2</Version>
78
</PropertyGroup>
89

910
<PropertyGroup>
@@ -35,7 +36,12 @@
3536
<RepositoryBranch>stable</RepositoryBranch>
3637
<PackageTags>
3738
MonoGame;Aseprite;import;processes;read;write;sprite;animation;tileset;tilemap;spritesheet;pipeline;mgcb</PackageTags>
38-
<PackageReleaseNotes>Version 4.0.1</PackageReleaseNotes>
39+
<PackageReleaseNotes>
40+
Version 4.0.2
41+
The following bug fixes were implemented:
42+
- Fixed XML docs not included in NuGet leading to no intellesense. (Closes #44)
43+
- Fixed RawTexture.Height property being internal by making it public (Closes #45)
44+
</PackageReleaseNotes>
3945
<Description>
4046
MonoGame.Aseprite.Content.Pipeline is a cross-platform C# library that adds an extension to the MonoGame
4147
MGCB Editor for importing Aseprite (.ase | .aseprite) files to be used in a MonoGame project using the

source/MonoGame.Aseprite/MonoGame.Aseprite.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<GenerateDocumentationFile>False</GenerateDocumentationFile>
7+
<Version>4.0.2</Version>
78
</PropertyGroup>
89

910
<PropertyGroup>
@@ -27,7 +28,12 @@
2728
MonoGame;Aseprite;import;processes;read;write;sprite;animation;tileset;tilemap;spritesheet;pipeline;mgcb
2829
</PackageTags>
2930
<PackageReadmeFile>README.md</PackageReadmeFile>
30-
<PackageReleaseNotes>Version 4.0.1-hotfix</PackageReleaseNotes>
31+
<PackageReleaseNotes>
32+
Version 4.0.2
33+
The following bug fixes were implemented:
34+
- Fixed XML docs not included in NuGet leading to no intellesense. (Closes #44)
35+
- Fixed RawTexture.Height property being internal by making it public (Closes #45)
36+
</PackageReleaseNotes>
3137
<Description>
3238
MonoGame.Aseprite is a cross-platofrm C# library that adds support to MonoGame projects for
3339
Aseprite (.asepirte/.ase) files.

source/MonoGame.Aseprite/RawTypes/RawTexture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public sealed class RawTexture : IEquatable<RawTexture>
5151
/// <summary>
5252
/// Gets the height, in pixels of the texture.
5353
/// </summary>
54-
internal int Height { get; }
54+
public int Height { get; }
5555

5656
internal RawTexture(string name, Color[] pixels, int width, int height) =>
5757
(Name, _pixels, Width, Height) = (name, pixels, width, height);

0 commit comments

Comments
 (0)