#Version bundle vs build

6 messages · Page 1 of 1 (latest)

thorny crypt
#

Hello,

I'm working on my CI to build my app.
For the app version, I used the version of the package.json:

# tauri.config.json
{
  "version": "../package.json",
}

It works, it's convenient and beautiful.
My CI first run a yarn version $(git describe), then I build, and my bundle (NSIS) has the last tag description as version number.

But the program itself (after installation), doesn't have the correct version in the file property "Product Version".
The File Version seems correct though, but cropped (which is fine).

Any idea?

pseudo yew
#

just so i see the whole context, what exactly is the output of git describe or what is the version field in package.json set to after yarn version $(git describe)

thorny crypt
#

In the screenshot, the bundle filename is correct and the Product Version too.

#

In the CI logs, I can see the build (not the bundle), is always 0.1.0

#
Compiling firehorse v0.1.0 (D:\a\1\s\src-tauri)
    Finished `release` profile [optimized] target(s) in 9m 07s
       Built application at: D:\a\1\s\src-tauri\target\release\firehorse.exe
        Info Patching binary "D:\\a\\1\\s\\src-tauri\\target\\release\\firehorse.exe" for type nsis
        Info Verifying NSIS package
 Downloading https://github.com/tauri-apps/binary-releases/releases/download/nsis-3.11/nsis-3.11.zip
        Info validating hash
        Info extracting NSIS
 Downloading https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.2/nsis_tauri_utils.dll
        Info validating hash
        Info Target: x64
     Running makensis to produce D:\a\1\s\src-tauri\target\release\bundle\nsis\firehorse_0.2.1-6-g678f4f2_x64-setup.exe
    Finished 1 bundle at:
        D:\a\1\s\src-tauri\target\release\bundle\nsis\firehorse_0.2.1-6-g678f4f2_x64-setup.exe