Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Change --export to --export-release #7335

Merged
merged 1 commit into from
May 13, 2023
Merged
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
8 changes: 4 additions & 4 deletions tutorials/editor/command_line_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ For example, the full command for exporting your game (as explained below) might

::

godot --path path_to_your_project --export my_export_preset_name game.exe
godot --path path_to_your_project --export-release my_export_preset_name game.exe

Creating a project
------------------
Expand Down Expand Up @@ -332,8 +332,8 @@ that is headless (server build, no video) is ideal for this.
# `godot` must be a Godot editor binary, not an export template.
# Also, export templates must be installed for the editor
# (or a valid custom export template must be defined in the export preset).
godot --export "Linux/X11" /var/builds/project
godot --export Android /var/builds/project.apk
godot --export-release "Linux/X11" /var/builds/project
godot --export-release Android /var/builds/project.apk

The preset name must match the name of an export preset defined in the
project's ``export_presets.cfg`` file. If the preset name contains spaces or
Expand All @@ -348,7 +348,7 @@ The output path extension determines the package's format, either PCK or ZIP.

.. warning::

When specifying a relative path as the path for `--export`, `--export-debug`
When specifying a relative path as the path for `--export-release`, `--export-debug`
or `--export-pack`, the path will be relative to the directory containing
the ``project.godot`` file, **not** relative to the current working directory.

Expand Down