Skip to content

Nova-98: Automate Packaging#99

Merged
omarnunezsiri merged 5 commits intomainfrom
98-automate-packaging
Aug 18, 2025
Merged

Nova-98: Automate Packaging#99
omarnunezsiri merged 5 commits intomainfrom
98-automate-packaging

Conversation

@omarnunezsiri
Copy link
Contributor

@omarnunezsiri omarnunezsiri commented Aug 18, 2025

This includes the implementation of a powershell script (pack.ps1) which replicates the manual work done to generate the Nova package, and instead places it inside the Packages/com.gyoudnova.handrecognition folder. Closes #98

This is useful because we do not have to rely on a single branch that has the package, and instead include the package within our development environment.

The current version of the script creates a new branch based on main, and then pushes the changes to that new branch. You can also ask it to create a tag for versioning.

How-to Run

No Tag

.\pack.ps1 -Version <num>

Force a Branch Push (if the branch already exists)

.\pack.ps1 -Version <num> -ForceBranch

Tag the release

.\pack.ps1 -Version <num> -TagRelease

All-in-one

.\pack.ps1 -Version <num> -ForceBranch -TagRelease

Screenshots

Command Usage

image

Package Installed

Here's a screenshot of the package being installed from a specific branch, and using the path.
image

Omar added 4 commits August 17, 2025 20:57
Limitations: Currently packages the plugin into a separate repository. Working on single-repository script
@omarnunezsiri omarnunezsiri self-assigned this Aug 18, 2025
@omarnunezsiri omarnunezsiri linked an issue Aug 18, 2025 that may be closed by this pull request
@omarnunezsiri
Copy link
Contributor Author

Unity itself doesn't allow post-installation scripts, so either we let the user manually move the StreamingAssets folder, or let an InitializeOnLoad component do it. I still have to decide what I prefer.

Copy link
Contributor

@RyanSamii RyanSamii left a comment

Choose a reason for hiding this comment

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

Test installed the alpha branch. all looks good and works.

LGTM

Copy link
Contributor

@RyanSamii RyanSamii left a comment

Choose a reason for hiding this comment

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

same just comments
LGTM

@omarnunezsiri omarnunezsiri merged commit a7f0a93 into main Aug 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate Packaging

2 participants