Skip to content

Conversation

@kring
Copy link
Member

@kring kring commented Jan 5, 2026

Improved instructions for releasing Cesium for Unity.

Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

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

Thanks @kring ! This is looking good, just a handful of small suggestions.

6. Create a new release by visiting https://github.com/CesiumGS/cesium-unity/releases/new.
7. We haven't created a tag for this release yet, so leave that blank for now.
8. Set `Release Title` to "Cesium for Unity v1.21.0", updating the version number as appropriate.
9. Copy the "release notes" section from a previous release, which you can find by visiting https://github.com/CesiumGS/cesium-unity/releases/latest and clicking the Edit button. But be careful not to save!
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT:

Suggested change
9. Copy the "release notes" section from a previous release, which you can find by visiting https://github.com/CesiumGS/cesium-unity/releases/latest and clicking the Edit button. But be careful not to save!
9. Copy and paste—but do not save!—the "release notes" section from a previous release, which you can find by visiting https://github.com/CesiumGS/cesium-unity/releases/latest and clicking the Edit button.

10. Update the version numbers as appropriate in the top section. Replace the changelog section with the actual changelog entries from this release. Copy it from `CHANGES.md`.
11. Upload the .tgz file by dragging it into the "Attach binaries" box.
12. Click Save Draft. Be careful not to publish it yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth also adding Steps 13 + 14 from the Cesium for Unreal guide here, too?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah this is a silly comment -- we unzip the file for the tarball, so the SHA can't be compared.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I think the best we can do here is make build process output the sha256 of the tgz file before it includes it in the artifact. Then we could compare the value in the log to the sha256 value GitHub shows for the asset to make sure nothing sus has happened.

* Does it open without crashing?
* Does it look correct?
* Press Play. Does it work as expected? The billboard in each level should give you a good idea of what to expect.
5. Test on other platforms and other versions of Unity if you can. If you can't (e.g., you don't have a Mac), post a message on Slack asking others to give it at least a quick smoke test.
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT:

Suggested change
5. Test on other platforms and other versions of Unity if you can. If you can't (e.g., you don't have a Mac), post a message on Slack asking others to give it at least a quick smoke test.
5. Test on other platforms and other versions of Unity if you can. If you can't (e.g., you don't have a Mac), post a message on Teams asking others to give it at least a quick smoke test.

4. Publish the release as a _draft_, and then go the [releases](https://github.com/CesiumGS/cesium-unity-samples/releases). Download the "Source Code (zip)" asset. Rename it to `CesiumForUnitySamples-v1.2.0.zip`, replacing `v1.2.0` with the correct version number for this release.
## Publish the release on GitHub

1. Tag the cesium-native release, and push the tag. Be sure you're tagging the exact commit that cesium-unity is using.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
1. Tag the cesium-native release, and push the tag. Be sure you're tagging the exact commit that cesium-unity is using.
1. Tag the cesium-native release if you haven't already, and push the tag. Be sure you're tagging the exact commit that cesium-unity is using.

@kring
Copy link
Member Author

kring commented Jan 6, 2026

I believe I've addressed everything. I added a job at the end of the CI process to print the SHA256 of the .tgz, and updated the instructions to suggest checking it.

@j9liu
Copy link
Contributor

j9liu commented Jan 6, 2026

Thanks @kring !

@j9liu j9liu merged commit 3c7f86d into main Jan 6, 2026
8 checks passed
@j9liu j9liu deleted the release-doc-improvements branch January 6, 2026 16:02
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.

3 participants