Semantic versioned Unity package template

As software developers, reusability is very important to speed up future development, continuously improve existing modules, promote decoupling.

We had some manual process for reusing and importing existing packages we developed, but Unity is going towards a Node oriented package management system, and we decided to adopt this new way of packaging our modules in Unity.

Not only did we want to create Unity packages quickly with a template, but also be able to do automatic semantic versioning, and force commit message format.

That's why I put up this Unity package template with semantic versioning and commit lint integrated into it. Now we can just create a new repo using this one as a template (or forking it), and we have a nice quick start for our new packages.

https://github.com/tuttocodes/Package-template

Because I used Github, I created a Github Actions workflow in order to execute the semantic versioning when pushing to develop branch, but this is something that needs to be updated to fit the project needs.

Go the Actions workflow and change it as you wish:

https://github.com/tuttocodes/Package-template/blob/master/.github/workflows/package-release.yml

Hope you find this useful!

Comments

Popular posts from this blog

My beginnings!