π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
remove ensu desktop tag version patching
Prateek Sunal8eecdd392d57
diff --git a/.github/workflows/ensu-release.yml b/.github/workflows/ensu-release.ymlindex 62e7fdad6e..c76ccd4854 100644--- a/.github/workflows/ensu-release.yml+++ b/.github/workflows/ensu-release.yml@@ -42,37 +42,6 @@ jobs:cache: "yarn"cache-dependency-path: "web/yarn.lock"- - name: Align Ensu desktop version with release tag- if: startsWith(github.ref, 'refs/tags/ensu-v')- shell: bash- run: |- VERSION_NAME="${GITHUB_REF_NAME#ensu-v}"- export VERSION_NAME- echo "Using Ensu desktop version ${VERSION_NAME} from tag ${GITHUB_REF_NAME}"-- sed -i.bak -E "s/^version = \".*\"$/version = \"${VERSION_NAME}\"/" rust/apps/ensu/src-tauri/Cargo.toml- rm -f rust/apps/ensu/src-tauri/Cargo.toml.bak-- node <<'NODE'- const fs = require("fs");- const version = process.env.VERSION_NAME;- const files = [- "rust/apps/ensu/src-tauri/tauri.conf.json",- "rust/apps/ensu/package.json",- ];-- for (const file of files) {- const json = JSON.parse(fs.readFileSync(file, "utf8"));- if (json.package && typeof json.package === "object") {- json.package.version = version;- }- if (typeof json.version === "string") {- json.version = version;- }- fs.writeFileSync(file, `${JSON.stringify(json, null, 2)}\n`);- }- NODE-- name: Install Rust stableuses: dtolnay/rust-toolchain@stablewith: