From 97521ec07169ef9ffeb9fccbce6dce427df63487 Mon Sep 17 00:00:00 2001 From: Benjamin Demetz <50681275+Benji377@users.noreply.github.com> Date: Sun, 19 Jan 2025 23:53:04 +0100 Subject: [PATCH] fixed release pipeline --- .github/workflows/release.yml | 42 +++++++++++++++++------------------ TODO.md | 13 +++++------ 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21add24..9168af0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,15 +43,15 @@ jobs: with: name: ${{ matrix.platform }}-release-artifacts path: | - ${{ matrix.platform == 'macos-latest' && 'target/release/slightlybettertext.app' || '' }} - ${{ matrix.platform == 'macos-latest' && 'target/release/slightlybettertext_*_aarch64.dmg' || '' }} - ${{ matrix.platform == 'macos-13' && 'target/release/slightlybettertext.app' || '' }} - ${{ matrix.platform == 'macos-13' && 'target/release/slightlybettertext_*_x64.dmg' || '' }} + ${{ matrix.platform == 'macos-latest' && 'target/release/SlightlyBetterText.app' || '' }} + ${{ matrix.platform == 'macos-latest' && 'target/release/SlightlyBetterText_*_aarch64.dmg' || '' }} + ${{ matrix.platform == 'macos-13' && 'target/release/SlightlyBetterText.app' || '' }} + ${{ matrix.platform == 'macos-13' && 'target/release/SlightlyBetterText_*_x64.dmg' || '' }} ${{ matrix.platform == 'ubuntu-latest' && 'target/release/PKGBUILD' || '' }} - ${{ matrix.platform == 'ubuntu-latest' && 'target/release/slightlybettertext_*_amd64.deb' || '' }} - ${{ matrix.platform == 'ubuntu-latest' && 'target/release/slightlybettertext_*_x86_64.AppImage' || '' }} - ${{ matrix.platform == 'windows-latest' && 'target/release/slightlybettertext_*_x64_en-US.msi' || '' }} - ${{ matrix.platform == 'windows-latest' && 'target/release/slightlybettertext_*_x64-setup.exe' || '' }} + ${{ matrix.platform == 'ubuntu-latest' && 'target/release/SlightlyBetterText_*_amd64.deb' || '' }} + ${{ matrix.platform == 'ubuntu-latest' && 'target/release/SlightlyBetterText_*_x86_64.AppImage' || '' }} + ${{ matrix.platform == 'windows-latest' && 'target/release/SlightlyBetterText_*_x64_en-US.msi' || '' }} + ${{ matrix.platform == 'windows-latest' && 'target/release/SlightlyBetterText_*_x64-setup.exe' || '' }} # Upload to GitHub release job upload_to_release: @@ -70,24 +70,24 @@ jobs: with: subject-path: | artifacts/PKGBUILD - artifacts/slightlybettertext_*_aarch64.dmg - artifacts/slightlybettertext_*_x64.dmg - artifacts/slightlybettertext_*_amd64.deb - artifacts/slightlybettertext_*_x86_64.AppImage - artifacts/slightlybettertext_*_x64_en-US.msi - artifacts/slightlybettertext_*_x64-setup.exe + artifacts/SlightlyBetterText_*_aarch64.dmg + artifacts/SlightlyBetterText_*_x64.dmg + artifacts/SlightlyBetterText_*_amd64.deb + artifacts/SlightlyBetterText_*_x86_64.AppImage + artifacts/SlightlyBetterText_*_x64_en-US.msi + artifacts/SlightlyBetterText_*_x64-setup.exe - name: Release to GitHub uses: softprops/action-gh-release@v2 with: draft: true generate_release_notes: true - tag_name: slightlybettertext v${{ env.VERSION }} + tag_name: SlightlyBetterText v${{ env.VERSION }} files: | artifacts/PKGBUILD - artifacts/slightlybettertext_*_aarch64.dmg - artifacts/slightlybettertext_*_x64.dmg - artifacts/slightlybettertext_*_amd64.deb - artifacts/slightlybettertext_*_x86_64.AppImage - artifacts/slightlybettertext_*_x64_en-US.msi - artifacts/slightlybettertext_*_x64-setup.exe + artifacts/SlightlyBetterText_*_aarch64.dmg + artifacts/SlightlyBetterText_*_x64.dmg + artifacts/SlightlyBetterText_*_amd64.deb + artifacts/SlightlyBetterText_*_x86_64.AppImage + artifacts/SlightlyBetterText_*_x64_en-US.msi + artifacts/SlightlyBetterText_*_x64-setup.exe diff --git a/TODO.md b/TODO.md index aff5ead..9c99f3b 100644 --- a/TODO.md +++ b/TODO.md @@ -1,17 +1,16 @@ # TODO -## CLI support -> Medium priority - -Add CLI support, meaning you can actually open and close the UI from the CLI and pass arguments to it. -I don't think I will actually create a CLI editor. - ## Documentation > Medium priority Add Rust docs comments to cover the entire project ## Add tests -> Low priority +> Low priority Add a test framework to track possible issues + +## Reduce memory footprint +> Low priority + +The current RAM usage is about 100MB, which is ok-ish, but I think we can do better.