From dca32eeb39b60943ce96e45077c3fc5bf9a95d3d Mon Sep 17 00:00:00 2001
From: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com>
Date: Wed, 13 Aug 2025 11:26:57 -0400
Subject: [PATCH] Hotfix/monogame 384 compat (#1009)
* Hotfix: Update MonoGame reference to 3.8.4
* Bump patch version to 4.1.1
* update workflow to choose version tag
* Bump to version 4.1.2
---
.github/workflows/create-release.yml | 20 ++++++++++++++------
Directory.Build.props | 4 ++--
README.md | 2 +-
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 6e68fcb9..92838aea 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -1,10 +1,13 @@
################################################################################
-### Build MonoGame.Extended (Develop)
-### Clones the `develop` branch and performs a build, test, then pack of the
-### Monogame.Extended source code. Once the build job is finished, the deploy
-### job will upload the nupkg files created to the MonoGame.Extended GitHub
+### Build MonoGame.Extended (Release)
+### Clones a specified release tag or the `develop` branch and performs a build,
+### test, then pack of the Monogame.Extended source code. Once the build job is
+### finished, the deploy job will upload the nupkg files created to the specified
+### package source (GitHub or NuGet).
###
-### - Only runs on a push to the `develop` branch
+### - Can be triggered manually with workflow_dispatch
+### - Allows specifying a release tag or defaults to develop branch
+### - Allows choosing between GitHub Packages or NuGet as deployment target
################################################################################
name: "Create Release"
@@ -19,6 +22,11 @@ on:
- GitHub
- NuGet
default: 'GitHub'
+ release-tag:
+ description: 'Release tag to build from (e.g., v1.0.0). Leave empty to use develop branch.'
+ required: false
+ type: string
+ default: ''
jobs:
build:
@@ -29,7 +37,7 @@ jobs:
- name: Clone Repository
uses: actions/checkout@v4
with:
- ref: develop
+ ref: ${{ inputs.release-tag || 'develop' }}
- name: Setup Dotnet
uses: actions/setup-dotnet@v4
diff --git a/Directory.Build.props b/Directory.Build.props
index b89959b5..105bed94 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -7,8 +7,8 @@
- 4.1.1
-
+ 4.1.2
+
craftworkgames and contributors
diff --git a/README.md b/README.md
index 29be1da5..f22bc7a4 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ MonoGame.Extended is a set of utilities (in the form of libraries/tools) to [Mon
Code is distributed as NuGet packages in the form of libraries (`.dll` files). You can easily install the NuGet packages into your existing MonoGame project using the NuGet Package Manager UI in Visual Studio or by using the command line interface (CLI) in a terminal.
```sh
-dotnet add package MonoGame.Extended --version 4.0.2
+dotnet add package MonoGame.Extended --version 4.1.2
```
### Using the Content Pipeline Extensions