BrettMayson / HEMTT

Build System for Arma 3
https://brettmayson.github.io/HEMTT
GNU General Public License v2.0
109 stars 40 forks source link

File patching no way to determine version #302

Closed jonpas closed 1 year ago

jonpas commented 4 years ago

HEMTT Version: 0.8.0 (dev d828af84613f6725732a4c42c8b4611ae2a0cf81) Project: https://github.com/CBATeam/CBA_A3/pull/1145

Description:

$ hemtt file-patching errors with "No way to determine the version number was detected". Building it works just fine.

Steps to reproduce:

Additional information:

Why would file-patching even care about version? :P

HEMTT Output:

E:\Arma 3\Mods\CBA_A3>hemtt.exe file-patching
HEMTT 0.8.0-d828af84613f6725732a4c42c8b4611ae2a0cf81-d828af8
Environment: dev

error: No way to determine the version number was detected
    Use `cmd /C "set APP_VERSION={} && hemtt ..."` to specify a version for this build
BrettMayson commented 4 years ago

It wants the version number because it needs the project information, and the project struct has to have a version.

I was unable to reproduce this, the projects I had worked fine for file-patching if they could also be built, more information may be required.

jonpas commented 4 years ago

Happens with CBA (current master HEMTT) on my machine.

BrettMayson commented 4 years ago

I am able to replicate with CBA, need to figure out why CBA is an edge case here as it looks like it should work fine

BrettMayson commented 1 year ago

Closing, should be fixed with 0,10