Skip to content

Commit

Permalink
fixed release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Benji377 committed Jan 19, 2025
1 parent 82d03ae commit 97521ec
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 28 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
13 changes: 6 additions & 7 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 97521ec

Please sign in to comment.