From 41a6fe4594d0ff910b02a36353d59b621c7d45de Mon Sep 17 00:00:00 2001
From: 0mniteck <10482171+0mniteck@users.noreply.github.com>
Date: Sun, 22 Oct 2023 19:48:14 -0700
Subject: [PATCH] Successful Build of Signed Release 6.35.0
---
Dockerfile | 4 ++--
README.md | 4 ++--
_layouts/default.html | 2 +-
builds/release/latest-linux-arm64.yml | 14 +++++++-------
builds/release/release.sha512sum | 4 ++--
builds/release/signal-desktop_6.34.0_arm64.deb | 3 ---
.../signal-desktop_6.34.0_arm64.deb.sig | 1 -
builds/release/signal-desktop_6.35.0_arm64.deb | 3 +++
.../signal-desktop_6.35.0_arm64.deb.sig | 1 +
buildscript.sh | 1 +
increment.sh | 18 ++++++++++++++++++
11 files changed, 37 insertions(+), 18 deletions(-)
delete mode 100644 builds/release/signal-desktop_6.34.0_arm64.deb
delete mode 100644 builds/release/signal-desktop_6.34.0_arm64.deb.sig
create mode 100644 builds/release/signal-desktop_6.35.0_arm64.deb
create mode 100644 builds/release/signal-desktop_6.35.0_arm64.deb.sig
create mode 100755 increment.sh
diff --git a/Dockerfile b/Dockerfile
index 1c5b92c..00962ab 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,8 +11,8 @@ ENV NVM_DIR="$HOME/.nvm"
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash && . $NVM_DIR/nvm.sh && nvm install 18.15.0 && nvm use 18.15.0 && npm install --location=global --force npm@latest && npm install --location=global --force yarn node-gyp npm-run-all
# Clone Repos
-# Signal-Desktop v6.34.0
-RUN git clone https://github.com/signalapp/Signal-Desktop.git -b 6.34.x
+# Signal-Desktop Branch 6.35.x
+RUN git clone https://github.com/signalapp/Signal-Desktop.git -b 6.35.x
RUN mkdir /Signal-Desktop/release/
# Copy Files
diff --git a/README.md b/README.md
index fb7b603..311341c 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
# Signal Desktop Builder For Mobian
-## signal-desktop_6.34.0_arm64.deb
+## signal-desktop_6.35.0_arm64.deb
-This project builds Signal Desktop for Mobian Bookworm on Arm64, currently targeting release `6.34.x`.
+This project builds Signal Desktop for Mobian Bookworm on Arm64, currently targeting release `6.35.0`.
This is the signed release: `builds/release/signal-desktop_6.xx.x_arm64.deb`.
diff --git a/_layouts/default.html b/_layouts/default.html
index 2530d0f..1c0d952 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -20,7 +20,7 @@
{{ page.description | default: site.description | de
{% endif %}
{% if site.show_downloads %}
- Download Release .deb
+ Download Release .deb
{% endif %}
diff --git a/builds/release/latest-linux-arm64.yml b/builds/release/latest-linux-arm64.yml
index e56e6ed..0bc4d51 100644
--- a/builds/release/latest-linux-arm64.yml
+++ b/builds/release/latest-linux-arm64.yml
@@ -1,8 +1,8 @@
-version: 6.34.0
+version: 6.35.0
files:
- - url: signal-desktop_6.34.0_arm64.deb
- sha512: ej4ZQ/GyZaISkJOSkV88DgGEDe27mjmYuXJ/xbWW0rt1m2QX3VDo6z1sIDYWXhtF57qSL3nAeOgdRb5PCWq6gQ==
- size: 106258912
-path: signal-desktop_6.34.0_arm64.deb
-sha512: ej4ZQ/GyZaISkJOSkV88DgGEDe27mjmYuXJ/xbWW0rt1m2QX3VDo6z1sIDYWXhtF57qSL3nAeOgdRb5PCWq6gQ==
-releaseDate: '2023-10-16T04:26:49.401Z'
+ - url: signal-desktop_6.35.0_arm64.deb
+ sha512: PKcA9UEZ/hEXDz/R15D5fz7jjRMy3l/k+2LKA1L67wC3vpG/qci/PWhm1dr14KURwg5D8YQKdXacT4YZVA7n9Q==
+ size: 106221956
+path: signal-desktop_6.35.0_arm64.deb
+sha512: PKcA9UEZ/hEXDz/R15D5fz7jjRMy3l/k+2LKA1L67wC3vpG/qci/PWhm1dr14KURwg5D8YQKdXacT4YZVA7n9Q==
+releaseDate: '2023-10-22T23:26:25.153Z'
diff --git a/builds/release/release.sha512sum b/builds/release/release.sha512sum
index 4e0d9c4..4278135 100644
--- a/builds/release/release.sha512sum
+++ b/builds/release/release.sha512sum
@@ -1,3 +1,3 @@
-7a3e1943f1b265a212909392915f3c0e01840dedbb9a3998b9727fc5b596d2bb759b6417dd50e8eb3d6c2036165e1b45e7ba922f79c078e81d45be4f096aba81 release/signal-desktop_6.34.0_arm64.deb
+3ca700f54119fe11170f3fd1d790f97f3ee38d1332de5fe4fb62ca0352faef00b7be91bfa9c8bf3d6866d5daf5e0a511c20e43f1840a75769c4f8619540ee7f5 release/signal-desktop_6.35.0_arm64.deb
Public Key: 0558260a88ff08f8dddf791fe73b9457917830506be3d8dbc1311e8d769c5ac777
-Build Complete on 10/16/23 at 04:27 UTC
+Build Complete on 10/22/23 at 23:27 UTC
diff --git a/builds/release/signal-desktop_6.34.0_arm64.deb b/builds/release/signal-desktop_6.34.0_arm64.deb
deleted file mode 100644
index f6fb836..0000000
--- a/builds/release/signal-desktop_6.34.0_arm64.deb
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3fd638af64ecfc81145362b8cf46129d50941494135098b26f392a746cb98e17
-size 106258912
diff --git a/builds/release/signal-desktop_6.34.0_arm64.deb.sig b/builds/release/signal-desktop_6.34.0_arm64.deb.sig
deleted file mode 100644
index 1af4871..0000000
--- a/builds/release/signal-desktop_6.34.0_arm64.deb.sig
+++ /dev/null
@@ -1 +0,0 @@
-33a3fb186aa04fbb50b5ab5b7caffbf785ee919ee6b56d9b3935eeccebd9fb46773e5ab767ad19fb7bf3c40993cc7fa31be9b41e46fad7fd2f9d33fb6f79aa8a
\ No newline at end of file
diff --git a/builds/release/signal-desktop_6.35.0_arm64.deb b/builds/release/signal-desktop_6.35.0_arm64.deb
new file mode 100644
index 0000000..99f3c05
--- /dev/null
+++ b/builds/release/signal-desktop_6.35.0_arm64.deb
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3acea26f2fed3cf43841619d42069bbd2a676562e36fb08820b44aa3355196a2
+size 106221956
diff --git a/builds/release/signal-desktop_6.35.0_arm64.deb.sig b/builds/release/signal-desktop_6.35.0_arm64.deb.sig
new file mode 100644
index 0000000..c5537f1
--- /dev/null
+++ b/builds/release/signal-desktop_6.35.0_arm64.deb.sig
@@ -0,0 +1 @@
+a2934cd393ecd02afc61ecccbf83f28ab7844a0a73d94dc48b7bd1387a9ab73db07a36222be55230ec19973ecc6c7c31327c7e78c8ac75fd6453be998b016b8b
\ No newline at end of file
diff --git a/buildscript.sh b/buildscript.sh
index 179b046..4c53617 100755
--- a/buildscript.sh
+++ b/buildscript.sh
@@ -5,6 +5,7 @@ apt install snapd
echo "Starting Build "$(date -u '+on %D at %R UTC')
echo
+./increment.sh
./re-run.sh
ls -la builds/release/
diff --git a/increment.sh b/increment.sh
new file mode 100755
index 0000000..88358fb
--- /dev/null
+++ b/increment.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+Last_Version_Number=6.35
+Version_Number=$(echo "$Last_Version_Number + .01" | bc -l)
+Last_Branch_Number=$Last_Version_Number.x
+Branch_Number=$Version_Number.x
+
+sed -i s/signal-desktop_$(echo $Last_Version_Number).0_arm64.deb/signal-desktop_$(echo $Version_Number).0_arm64.deb/g _layouts/default.html
+
+sed -i s/$(echo $Last_Version_Number)/$(echo $Version_Number)/g README.md
+
+sed -i s/$(echo $Last_Branch_Number)/$(echo $Branch_Number)/g Dockerfile
+
+sed -i s/Last_Version_Number=$Last_Version_Number/Last_Version_Number=$Version_Number/g increment.sh
+
+echo Version Incremented From v$Last_Version_Number To v$Version_Number
+
+exit