Bump binaries versions to v2

This commit is contained in:
Alexandr Stelnykovych 2025-03-21 12:16:51 +00:00
parent 3defb5f0ba
commit b970a98055
4 changed files with 3 additions and 8 deletions

View file

@ -446,10 +446,6 @@ tauri-build:
DO rust+SET_CACHE_MOUNTS_ENV DO rust+SET_CACHE_MOUNTS_ENV
RUN rustup target add "${target}" RUN rustup target add "${target}"
# Init version information: VERSION, SOURCE, BUILD_TIME and VERSION_SemVer
DO +SET_VERSION_INFO
# Set version in Cargo.toml if it's a valid SemVer (required to set correct version of the output binary)
RUN if [ -n "$VERSION_SemVer" ]; then sed -i 's/^version = ".*"/version = "'"$VERSION_SemVer"'"/g' Cargo.toml; fi
# Build # Build
RUN --mount=$EARTHLY_RUST_TARGET_CACHE cargo tauri build --ci --target="${target}" --no-bundle RUN --mount=$EARTHLY_RUST_TARGET_CACHE cargo tauri build --ci --target="${target}" --no-bundle
DO rust+COPY_OUTPUT --output="${output}" DO rust+COPY_OUTPUT --output="${output}"

View file

@ -1,6 +1,6 @@
{ {
"name": "portmaster", "name": "portmaster",
"version": "0.8.11", "version": "2.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "npm install && npm run build-libs:dev && ng serve --proxy-config ./proxy.json", "start": "npm install && npm run build-libs:dev && ng serve --proxy-config ./proxy.json",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "portmaster" name = "portmaster"
version = "0.1.0" version = "2.0.0"
description = "Portmaster UI" description = "Portmaster UI"
authors = ["Safing"] authors = ["Safing"]
license = "" license = ""

View file

@ -39,7 +39,6 @@
} }
}, },
"productName": "Portmaster", "productName": "Portmaster",
//"version": "0.1.3", // If removed - the version number from Cargo.toml is used.
"identifier": "io.safing.portmaster", // this is added as a property to the shortcut on windows (ApplicationUserModelID). Used for notifications. "identifier": "io.safing.portmaster", // this is added as a property to the shortcut on windows (ApplicationUserModelID). Used for notifications.
"app": { "app": {
"withGlobalTauri": true, "withGlobalTauri": true,