Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update version to 4.2.0 #681

Merged
merged 3 commits into from
Dec 22, 2024
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
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,23 @@ We are using pull requests to add new features, no direct commits to master. To
- The [GitHub Action](.github/workflows/main.yml) also creates a pre-release `.unitypackage` from the build to be able to import it in any Unity project without needing to wait for a new official release.
- If everything is working and fits our [Code Style](#code-style) we will merge the pull request. When merging please use the `Squash and merge` merge strategy to keep the commit history clean.

### Steps to release a new version

1. Update Version Information:

- Edit `src/NuGetForUnity/package.json` to update the `"version"` field.
- Edit `src/NuGetForUnity/Editor/Ui/NugetPreferences.cs` to update the `NuGetForUnityVersion` constant.

2. Create a Release (after merging the version changes):

- Go to the GitHub Releases page.
- Click "Draft a new release" and use the auto-generated release notes.

3. Upload Unity Package:

- Download the generated `unitypackage` from the GitHub Action.
- Manually upload it to the release page.

### Development Environment Setup

You can use any version of Unity to develop NuGetForUnity but you should only use features available in Unity version 2018.3+. The easiest way to edit and test code using a newer Unity version is by installing NuGetForUnity as a local package like in [TestProjects/ImportAndUseNuGetPackages](src/TestProjects/ImportAndUseNuGetPackages).
Expand Down
2 changes: 1 addition & 1 deletion src/NuGetForUnity/Editor/Ui/NugetPreferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class NugetPreferences : SettingsProvider
/// <summary>
/// The current version of NuGet for Unity.
/// </summary>
public const string NuGetForUnityVersion = "4.1.1";
public const string NuGetForUnityVersion = "4.2.0";

private const float LabelPading = 5;

Expand Down
2 changes: 1 addition & 1 deletion src/NuGetForUnity/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.github-glitchenzo.nugetforunity",
"displayName": "NuGetForUnity",
"version": "4.1.1",
"version": "4.2.0",
"description": "A NuGet Package Manager for Unity",
"unity": "2018.4",
"keywords": [
Expand Down
Loading