Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop v0.3.0 #14

Merged
merged 16 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
77ff636
feat(MangaPage): add function to download all chapters of manga (rough)
josueBarretogit Aug 12, 2024
4cc7194
refactor(MangaPage): changing download all chapters to prevent api ra…
josueBarretogit Aug 13, 2024
f66b1e3
feat(MangaPage): make functions to let user select image quality when…
josueBarretogit Aug 13, 2024
8b51f64
refactor(MangaPage): move logic to its own widget
josueBarretogit Aug 14, 2024
7499024
refactor(MangaPage-widgets): changed layout of manga download informa…
josueBarretogit Aug 14, 2024
8f9742d
fix(MangaPage): save chapter download status after all chapters have …
josueBarretogit Aug 15, 2024
96ccd1c
test(MangaPage-DownloadState): Added tests for DownloadState
josueBarretogit Aug 15, 2024
a0e51ca
test(MangaPage): improve manga page tests
josueBarretogit Aug 16, 2024
5e77106
Merge PR #11 from josueBarretogit/download-all-chapters-at-once
josueBarretogit Aug 17, 2024
40a75fc
feat(Config): Add config file
josueBarretogit Aug 17, 2024
3dc3de8
refactor(Download): changed implementation download functions to supp…
josueBarretogit Aug 18, 2024
bb1bde5
feat(Download): added epub format for downloads
josueBarretogit Aug 19, 2024
d83bdd4
feat(MangaPage): add option to cancel download all chapters process
josueBarretogit Aug 19, 2024
479ec4b
Merge branch '10-download-chapters-as-pdf'
josueBarretogit Aug 20, 2024
99c9564
chore(docs, refactor) update readme and refactor
josueBarretogit Aug 20, 2024
cbacd7e
bump version to v0.3.0, add release workflow
josueBarretogit Aug 20, 2024
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
63 changes: 63 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Release

on:
push:
tags:
- 'v*'

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
targets:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-14
- target: aarch64-apple-darwin
os: macos-14
runs-on: ${{ matrix.targets.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
run: rustup target add ${{ matrix.targets.target }}
- name: Build
run: cargo build --release --target ${{ matrix.targets.target }}
- name: Set release version
run: echo "RELEASE_VERSION=${GITHUB_REF_NAME#v}" >> ${GITHUB_ENV}
- name: Archive
run: tar -czf manga-tui-${{ env.RELEASE_VERSION }}-${{ matrix.targets.target }}.tar.gz -C target/${{ matrix.targets.target }}/release manga-tui
- name: Checksum
run: shasum -a 256 manga-tui-${{ env.RELEASE_VERSION }}-${{ matrix.targets.target }}.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: release-${{ matrix.targets.target }}
path: manga-tui-${{ env.RELEASE_VERSION }}-${{ matrix.targets.target }}.tar.gz
if-no-files-found: error
release:
permissions:
contents: write
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
path: releases
pattern: release-*
merge-multiple: true
- name: Checksum
run: sha256sum releases/* > ./releases/checksum.txt
- name: Create Draft Release
uses: softprops/[email protected]
with:
draft: true
generate_release_notes: true
make_latest: true
files: |
releases/*
Loading
Loading