Publish
The Publish panel packages the project and uploads it to the Adamas platform.
What the Panel Shows
Before publishing, the panel summarizes:
- Project name
- Author
- Visibility
- Description
- Project ID
- Created and updated timestamps
- Previous publish information
- Previous build information
- Version change
- Preview image
Publishing Requirements
Based on the code, publish is blocked unless:
- a project is loaded
- the project version is valid
- the new version is greater than the previous published version
- a build exists
- an upload is not already in progress
Versioning Rules
The publish flow uses semantic version formatting:
major.minor.patch
The new version must be greater than the previously published version.
Publish Flow
When publishing, Adamas Hub:
- updates the local project version
- saves the project to disk
- packages the project from the local project root
- includes world entrance information
- uploads the project file
- optionally uploads a preview image
- updates local metadata from the server response
If the project already exists remotely, the app patches it. Otherwise, it creates a new remote project record.