diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 3fd65b4..8e575c8 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -8,16 +8,23 @@ on: jobs: build-and-release: runs-on: ubuntu + container: ubuntu:22.04 steps: + - name: Install base tools + run: | + apt-get update + apt-get install -y curl wget git sudo ca-certificates + - name: Checkout uses: https://github.com/actions/checkout@v4 - name: Setup environment run: | - # Ensure Rust is available - if ! command -v cargo &>/dev/null; then - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - fi + # Install Node.js + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs + # Install Rust + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source "$HOME/.cargo/env" rustc --version cargo --version @@ -26,12 +33,11 @@ jobs: - name: Install Linux dependencies run: | - sudo apt-get update - sudo apt-get install -y build-essential libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf jq libssl-dev xdg-utils + apt-get install -y build-essential libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf jq libssl-dev xdg-utils - name: Install Windows cross-compile dependencies run: | - sudo apt-get install -y lld llvm clang nsis + apt-get install -y lld llvm clang nsis source "$HOME/.cargo/env" rustup target add x86_64-pc-windows-msvc cargo install --locked cargo-xwin diff --git a/CHANGELOG.md b/CHANGELOG.md index b584a4b..19365dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [Unreleased] +## [0.4.4] + +### Fixed +- Linux binary now compatible with glibc 2.35+ (Ubuntu 22.04 / Pop!_OS) — CI builds in Ubuntu 22.04 container + ## [0.4.3] ### Fixed diff --git a/package.json b/package.json index c67c64d..f6b7392 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "simpl_result_scaffold", "private": true, - "version": "0.4.3", + "version": "0.4.4", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index ffd6db8..c067e62 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simpl-result" -version = "0.4.3" +version = "0.4.4" description = "Personal finance management app" authors = ["you"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6cb8ace..6e5b8da 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Simpl Resultat", - "version": "0.4.3", + "version": "0.4.4", "identifier": "com.simpl.resultat", "build": { "beforeDevCommand": "npm run dev",