Skip to content

Compute the next version of a C# project based on its current version, the version of Godot it is using, and a version bump strategy (major, minor, or patch).

License

Notifications You must be signed in to change notification settings

chickensoft-games/next-godot-csproj-version

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

🖨 Next Godot C# Project Version

Chickensoft Badge Discord Read the docs

Compute the next version of a C# project based on its current version, the version of Godot it is using, and a version bump method (major, minor, or patch).

The version returned by this action will be bumped according to the version bump strategy. If the supplied Godot version is a prerelease version, this version will receive a corresponding prerelease label suffix showing which Godot prerelease version it uses. Stable versions do not have a Godot prerelease label suffix, as nuget would not recognize them as a stable version if they did.

The Godot version can be inferred from the project's global.json file by specifying global or global.json as the godot-version input. If the global.json file is not found, the action will fail.

The next computed version will be set as an output for the step as version.

This is used by GodotPackage to help automate releases for C# nuget package projects using Godot.

Inputs

See action.yml for the complete guide to all of the action's inputs.

About

Compute the next version of a C# project based on its current version, the version of Godot it is using, and a version bump strategy (major, minor, or patch).

Resources

License

Stars

Watchers

Forks

Packages

No packages published