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

Expose version information to editor extensions #7746

Merged
merged 1 commit into from Jun 19, 2023
Merged

Expose version information to editor extensions #7746

merged 1 commit into from Jun 19, 2023

Conversation

vlaaad
Copy link
Contributor

@vlaaad vlaaad commented Jun 15, 2023

User-facing changes:
Editor scripts now can access the following variables:

  • editor.version — a version of Defold, e.g. 1.4.6
  • editor.engine_sha1 — a SHA1 of Defold engine
  • editor.editor_sha1 — a SHA1 of Defold editor

Fixes #7741

User-facing changes:
Editor scripts now can access following variables:
- `editor.version` — a version of Defold, e.g. `1.4.6`
- `editor.engine_sha1` — a SHA1 of Defold engine
- `editor.editor_sha1` — a SHA1 of Defold editor

Fixes #7741
@vlaaad vlaaad requested a review from matgis June 15, 2023 14:26
Copy link
Contributor

@matgis matgis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@vlaaad vlaaad merged commit b3e46f0 into dev Jun 19, 2023
5 checks passed
@vlaaad vlaaad deleted the DEFEDIT-7741 branch June 19, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor scripts: Add a function to get a version and SHA of the Defold editor
2 participants