Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1bb19d0
✨ Switch no_subcommand error to crossterm
dkomeza Nov 13, 2024
d86f377
✨ Create a layout parser
dkomeza Nov 22, 2024
dcc20d9
💄 Port config error messages to the new view controller
dkomeza Nov 24, 2024
f17935b
🔨 Refactor check_git_config
dkomeza Nov 24, 2024
eaa39c2
✨ Add aditional color options to the printer
dkomeza Mar 18, 2025
a82aa91
🔨 Switch to printer
dkomeza Mar 18, 2025
3ae4129
🔥 Remove unused code
dkomeza Mar 18, 2025
8f309c8
✨ Refactor git validation
dkomeza Apr 2, 2025
ab99138
🚚 Move git install instructions for unix to git.rs file
dkomeza Apr 2, 2025
d308c21
🔨 Refactor git config error message
dkomeza Apr 2, 2025
c0759b2
💡 Change git config check function description
dkomeza Apr 2, 2025
ec004b0
Merge pull request #44 from dkomeza/main
dkomeza Apr 2, 2025
bcc2f33
✨ Create input function
dkomeza Apr 2, 2025
134707b
✨ Create initial text input implementation
dkomeza Apr 3, 2025
828f411
✨ Input can use printer based formating
dkomeza Apr 3, 2025
7a43cc1
✨ Initial list input implementation
dkomeza Apr 7, 2025
084b8a4
🔨 Refactor text input
dkomeza Apr 7, 2025
a1d8e2a
🔨 Move input into a separate, self contained struct
dkomeza Apr 8, 2025
41a9377
✨ Add text box to list input
dkomeza Apr 8, 2025
9326dac
🔨 Display input at the end of the prompt after completion
dkomeza May 8, 2025
e27f8b0
✨ Finalize initial list input implementation
dkomeza Sep 17, 2025
1e5e29d
✨ Basic spinner implementation
dkomeza Sep 26, 2025
cd3cb2b
Apply suggestions from code review
dkomeza Sep 29, 2025
535ca9b
💄 Fix typo in variable name
dkomeza Sep 29, 2025
5d412e1
Merge pull request #50 from dkomeza/41-create-the-view-controller
dkomeza Sep 29, 2025
e6b4c53
🔥 Clean up development code
dkomeza Jan 11, 2026
24ff7b5
✨ Create the update service
dkomeza Jan 11, 2026
fba1cd5
✨ Check for update on startup
dkomeza Jan 11, 2026
094a938
👷 Change how the binaries are released
dkomeza Jan 11, 2026
f59c031
✨ Finish the update service
dkomeza Jan 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 18 additions & 32 deletions .github/workflows/release_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ env:

jobs:
release-linux:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- release_for: ARM64 Linux
target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-gnu
binary: "tgh-linux-arm64"
host: "ubuntu-latest"
- release_for: X86_64 Linux
target: x86_64-unknown-linux-gnu
- target: x86_64-unknown-linux-gnu
binary: "tgh-linux-x64"
host: "ubuntu-latest"

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -41,19 +37,18 @@ jobs:
run: cross build --release --target ${{ matrix.platform.target }}

- name: Compress binary
run: tar -czf target/${{ matrix.platform.binary }}.tar.gz -C target/${{ matrix.platform.target }}/release tgh
run: tar -czf target/${{ matrix.platform.target }}.tar.gz -C target/${{ matrix.platform.target }}/release tgh

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ matrix.platform.binary }}.tar.gz
asset_name: ${{ matrix.platform.binary }}.tar.gz
file: target/${{ matrix.platform.target }}.tar.gz
asset_name: tgh-${{ matrix.platform.target }}.tar.gz
tag: ${{ github.ref }}

release-windows:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -67,28 +62,22 @@ jobs:
- name: Build
run: cargo build --release

- name: Compress binary
run: Compress-Archive -Path target/release/tgh.exe -DestinationPath target/tgh-pc-windows-msvc.zip

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/tgh.exe
asset_name: tgh-windows-x64.exe
file: target/tgh-pc-windows-msvc.zip
asset_name: tgh-x86_64-pc-windows-msvc.zip
tag: ${{ github.ref }}

release-macos:
runs-on: macos-latest
strategy:
matrix:
platform:
- release_for: X86_64 macOS
target: x86_64-apple-darwin
binary: "tgh-darwin-x64"
host: "macos-latest"
- release_for: ARM64 macOS
target: aarch64-apple-darwin
binary: "tgh-darwin-arm64"
host: "macos-latest"

runs-on: macos-latest
target: [x86_64-apple-darwin, aarch64-apple-darwin]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -98,21 +87,18 @@ jobs:
with:
toolchain: stable
override: true
target: ${{ matrix.platform.target }}

- name: Setup cross-compilation
run: cargo install -f cross
target: ${{ matrix.target }}

- name: Build
run: cross build --release --target ${{ matrix.platform.target }}
run: cargo build --release --target ${{ matrix.target }}

- name: Compress binary
run: tar -czf target/${{ matrix.platform.binary }}.tar.gz -C target/${{ matrix.platform.target }}/release tgh
run: tar -czf target/${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release tgh

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ matrix.platform.binary }}.tar.gz
asset_name: ${{ matrix.platform.binary }}.tar.gz
file: target/${{ matrix.target }}.tar.gz
asset_name: tgh-${{ matrix.target }}.tar.gz
tag: ${{ github.ref }}
Loading
Loading