Skip to content

Commit

Permalink
- Fixed bug where Linux build failed, due to wrong Ubuntu version in …
Browse files Browse the repository at this point in the history
…release script.
  • Loading branch information
PeterBlenessy committed Dec 23, 2024
1 parent 2fe5935 commit 1e6182e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target x86_64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target aarch64-apple-darwin'
- platform: 'ubuntu-20.04' # for Tauri v2 you could replace this with ubuntu-22.04.
- platform: 'ubuntu-22.04' # Ubuntu version for Tauri v2
args: ''
- platform: 'windows-latest'
args: ''
Expand All @@ -27,31 +25,31 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies (ubuntu only)
# This must match the platform value defined above.
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
# You can remove libappindicator3-dev if you don't use the system tray feature.

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
# cache: 'yarn' # Set this to npm, yarn or pnpm.
cache: 'yarn' # Set this to npm, yarn or pnpm.

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

# - name: Rust cache
# uses: swatinem/rust-cache@v2
# with:
# workspaces: './src-tauri -> target'
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin' || '' }}

- name: Install dependencies (ubuntu only)
# This must match the platform value defined above.
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
# You can remove libappindicator3-dev if you don't use the system tray feature.
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'

- name: Install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- When removing a persona; should check if it is used in messages and alert user.
- When settings are restored from last message, personas with same name or id are duplicated if prompt or avatar has changed in persona settings compared to persona in message.

## v2.0.2 - 2024-12-23
- Fixed bug where Linux build failed, due to wrong Ubuntu version in release script.

## v2.0.1 - 2024-12-23
- Fixe dbug where build could not be signed for Mac OSX due to wrong Tauri signing key environment variables in release script.
- Fixed bug where build could not be signed for Mac OSX due to wrong Tauri signing key environment variables in release script.

## v2.0.0 - 2024-12-23
- Migrated to Tauri v2.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "team-ai",
"private": true,
"version": "2.0.1",
"version": "2.0.2",
"type": "module",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit 1e6182e

Please sign in to comment.