Release 1.0.4-alpha
This commit is contained in:
commit
398457093a
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: ubuntu-22.04
|
- platform: ubuntu-24.04
|
||||||
target: ''
|
target: ''
|
||||||
artifact-name: linux-x86_64
|
artifact-name: linux-x86_64
|
||||||
- platform: macos-latest
|
- platform: macos-latest
|
||||||
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
|
|
||||||
# ── Linux dependencies ──
|
# ── Linux dependencies ──
|
||||||
- name: Install dependencies (Linux)
|
- name: Install dependencies (Linux)
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
|
|
@ -74,7 +74,7 @@ jobs:
|
||||||
libpulse-dev squashfs-tools dpkg rpm
|
libpulse-dev squashfs-tools dpkg rpm
|
||||||
|
|
||||||
- name: Install cargo packaging tools (Linux)
|
- name: Install cargo packaging tools (Linux)
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
tool: cargo-deb,cargo-generate-rpm
|
tool: cargo-deb,cargo-generate-rpm
|
||||||
|
|
@ -135,7 +135,7 @@ jobs:
|
||||||
rm -f lightningbeam-ui/lightningbeam-editor/assets/presets/README.md
|
rm -f lightningbeam-ui/lightningbeam-editor/assets/presets/README.md
|
||||||
|
|
||||||
- name: Inject preset entries into RPM metadata (Linux)
|
- name: Inject preset entries into RPM metadata (Linux)
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd lightningbeam-ui
|
cd lightningbeam-ui
|
||||||
|
|
@ -190,7 +190,7 @@ jobs:
|
||||||
# Linux Packaging
|
# Linux Packaging
|
||||||
# ══════════════════════════════════════════════
|
# ══════════════════════════════════════════════
|
||||||
- name: Build .deb package
|
- name: Build .deb package
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd lightningbeam-ui
|
cd lightningbeam-ui
|
||||||
|
|
@ -206,14 +206,15 @@ jobs:
|
||||||
rm -rf "$WORK"
|
rm -rf "$WORK"
|
||||||
|
|
||||||
- name: Build .rpm package
|
- name: Build .rpm package
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd lightningbeam-ui
|
cd lightningbeam-ui
|
||||||
cargo generate-rpm -p lightningbeam-editor
|
RPM_VERSION=$(grep '^version' lightningbeam-editor/Cargo.toml | sed 's/.*"\(.*\)"/\1/' | tr '-' '~')
|
||||||
|
cargo generate-rpm -p lightningbeam-editor --set-metadata="version = \"$RPM_VERSION\""
|
||||||
|
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd lightningbeam-ui
|
cd lightningbeam-ui
|
||||||
|
|
@ -259,7 +260,7 @@ jobs:
|
||||||
chmod +x "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
|
chmod +x "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
|
||||||
|
|
||||||
- name: Upload .deb
|
- name: Upload .deb
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: deb-package
|
name: deb-package
|
||||||
|
|
@ -267,7 +268,7 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload .rpm
|
- name: Upload .rpm
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rpm-package
|
name: rpm-package
|
||||||
|
|
@ -275,7 +276,7 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload AppImage
|
- name: Upload AppImage
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-24.04'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: appimage
|
name: appimage
|
||||||
|
|
@ -380,7 +381,7 @@ jobs:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "lightningbeam-editor"
|
name = "lightningbeam-editor"
|
||||||
version = "1.0.3-alpha"
|
version = "1.0.4-alpha"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Multimedia editor for audio, video and 2D animation"
|
description = "Multimedia editor for audio, video and 2D animation"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
|
|
||||||
|
|
@ -213,7 +213,7 @@ impl TabletInput {
|
||||||
let pressure = ctx.input(|i| {
|
let pressure = ctx.input(|i| {
|
||||||
i.events.iter().rev().find_map(|e| {
|
i.events.iter().rev().find_map(|e| {
|
||||||
if let egui::Event::Touch {
|
if let egui::Event::Touch {
|
||||||
force: Some(egui::TouchForce::Normalized(f)),
|
force: Some(f),
|
||||||
..
|
..
|
||||||
} = e
|
} = e
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue