Skip to content
copy

GitHub Action

Next Godot C# Project Version

v1.13.0 Latest version

Next Godot C# Project Version

copy

Next Godot C# Project Version

Compute the next version of a C# project based on the version of Godot it uses

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Next Godot C# Project Version

uses: chickensoft-games/[email protected]

Learn more about this action in chickensoft-games/next-godot-csproj-version

Choose a version

🖨 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.