Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add version artifacts for build processes
Leendert de Borstd0334e9033b4
diff --git a/apps/.version/major.txt b/apps/.version/major.txtnew file mode 100644index 000000000..573541ac9--- /dev/null+++ b/apps/.version/major.txt@@ -0,0 +1 @@+0diff --git a/apps/.version/minor.txt b/apps/.version/minor.txtnew file mode 100644index 000000000..a45fd52cc--- /dev/null+++ b/apps/.version/minor.txt@@ -0,0 +1 @@+24diff --git a/apps/.version/patch.txt b/apps/.version/patch.txtnew file mode 100644index 000000000..573541ac9--- /dev/null+++ b/apps/.version/patch.txt@@ -0,0 +1 @@+0diff --git a/apps/.version/suffix.txt b/apps/.version/suffix.txtnew file mode 100644index 000000000..45aa4cfca--- /dev/null+++ b/apps/.version/suffix.txt@@ -0,0 +1 @@+-betadiff --git a/apps/.version/version.txt b/apps/.version/version.txtnew file mode 100644index 000000000..c90395279--- /dev/null+++ b/apps/.version/version.txt@@ -0,0 +1 @@+0.24.0-betadiff --git a/scripts/bump-version.sh b/scripts/bump-version.shindex cab49f364..c8177a199 100755--- a/scripts/bump-version.sh+++ b/scripts/bump-version.sh@@ -590,6 +590,30 @@ elif [[ "$BUILD_ONLY" == true ]]; thenecho " Only build numbers were incremented"fi+# Write version information to text files for build processes (only for marketing updates)+if [[ "$MARKETING_UPDATE" == true ]]; then+ echo ""+ echo "--------------------------------"+ echo "Writing version files for build processes..."+ echo "--------------------------------"++ # Create version directory if it doesn't exist+ version_dir="../apps/.version"+ mkdir -p "$version_dir"++ # Write full version (with suffix if present)+ full_version="${version}${version_suffix}"+ echo "$full_version" > "$version_dir/version.txt"+ echo "• Wrote full version to .version/version.txt: $full_version"++ # Write individual version components+ echo "$major" > "$version_dir/major.txt"+ echo "$minor" > "$version_dir/minor.txt"+ echo "$patch" > "$version_dir/patch.txt"+ echo "$version_suffix" > "$version_dir/suffix.txt"+ echo "• Wrote version components to .version/{major,minor,patch,suffix}.txt"+fi+if [[ "$BUILD_ONLY" == true ]]; thenecho -e "\n✅ Build-only update completed!"elif [[ "$MARKETING_UPDATE" == true ]]; then