compiler with dist

This commit is contained in:
Nilton Constantino
2026-01-21 06:50:57 +00:00
parent 1410a8ff19
commit b7425e5a20
25 changed files with 370 additions and 316 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
# Get version from git tag or fallback to Cargo.toml version
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || grep -m 1 '^version =' crates/prometeu-runtime-desktop/Cargo.toml | cut -d '"' -f 2 || echo "0.1.0")
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || grep -m 1 '^version =' crates/prometeu/Cargo.toml | cut -d '"' -f 2 || echo "0.1.0")
echo "$VERSION" > VERSION.txt
echo "Generated VERSION.txt with version $VERSION"
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -e
# Generate version
./scripts/gen-version.sh
VERSION=$(cat VERSION.txt)