AlexStormwood / UnityAutomatedSemver

Action to increment relevant version numbers in a Unity project in your Github Action workflows.
MIT License
9 stars 1 forks source link

Sometimes the build number is replaced. #13

Open eproulx-bb opened 3 months ago

eproulx-bb commented 3 months ago

My game was build version 0.3.11 (both buildVersion and buildNumber: Standalone). But after the nightly build, now the build version is 0.0.281 instead of the correct one 0.3.12.

It worked fine the day before (started off with 0.3.10 and ended up with 0.3.11).

This is the step in the build:

      - name: Find ProjectSettings.asset & increment its bundleVersion number
        uses: AlexStormwood/UnityAutomatedSemver@v1.1.1
        id: semver-update
        with:
          semver-update-type: 'patch'

I don't see any error during the build.

AlexStormwood commented 3 months ago

Hey, please update to v2.0.0 of the action - it has different logic for semver numbering.

eproulx-bb commented 3 months ago

The reason why the version number was being replaced "sometimes" is because I was using the game-ci option versioning: Semantic which is a different system than this one, and clashes with it. I should have used versioning: None instead.

Still, I suggest you mention this incompatibility in your documentation.