Search Unity

Utilities [RELEASED] Version from git (automatically)

Discussion in 'Tools In Progress' started by danBourquin, Sep 22, 2021.

?

Woul'd you use this asset ?

  1. Yes it's a very usefull tools

    2 vote(s)
    66.7%
  2. Maybe

    0 vote(s)
    0.0%
  3. No I don't care about versionning my game

    0 vote(s)
    0.0%
  4. No I don't use Git tag for versionning or I don't use git

    1 vote(s)
    33.3%
  5. No (other reasons, explain it on the thread if possible)

    0 vote(s)
    0.0%
  1. danBourquin

    danBourquin

    Joined:
    Nov 16, 2016
    Posts:
    34
    The package is published on the Asset Store!

    Video-script-1 – 6.png


    I'm currently creating a tools to retrieve version directly from Git tag and saving on Unity automatically when building your game.

    The purpose of this thread is to collecting your expectation for this kind of asset and your feedbacks!



    Features
    • Get version from git tag (format "vX.Y.Z" or "X.Y.Z")
    • Set version automatically when building
    • Set version manually by using the option on the top menu
    • Customize the version format
    • Use the API to create your own logic
    Settings

    Customization.png

    What do you think ? Is any features missing ?

    Any feedback would be really welcome!

    Thanks,
    Dan

    You'll find the documentation in attached files

    Asset is out now on the Asset Store
     

    Attached Files:

    Last edited: Nov 14, 2021
    JoNax97 likes this.
  2. danBourquin

    danBourquin

    Joined:
    Nov 16, 2016
    Posts:
    34
    I'm posting a quick update about the asset. It's currently on the reviewing process. I'll update this thread when it will be available.
    I'm thinking about how I can improve it and I would ask you the following question:

    How do you usually tag your version ?
    What variable do you need to tag your version on Unity?

    Currently there's the following variable who could be used to format the version:
    • Version on format "major.minor.revision"
    • Major number
    • Minor number
    • Revision number
    • Commit hash (last commit with the version tag)
    • DateTime of the tagged commit
    • Name of the current branch (usefull if you are on a beta branch for example)
    • Number of commit since the last version tag
     
  3. danBourquin

    danBourquin

    Joined:
    Nov 16, 2016
    Posts:
    34
    I'm happy to announce that my Version from git is now available on the Asset Store with a launch sale of 50% !
    Asset Store Page