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

Release #63

Merged
merged 3 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
24 changes: 11 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
name: Release

# This will trigger the action on each push to the `release` branch.
on:
#push:
# tags:
# - "v*.*.*"
workflow_dispatch:
inputs:
tag:
type: string
description: Release tag
required: true
push:
branches:
- release

jobs:
build-ubuntu:
Expand Down Expand Up @@ -75,7 +70,7 @@ jobs:
path: out/make/
retention-days: 1
release:
name: Create a new github release ${{ inputs.tag }}
name: Create a new github release
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -93,18 +88,21 @@ jobs:
with:
name: japReader-artifacts windows-latest
path: make/
- name: Get current package version
uses: martinbeentjes/[email protected]
- name: Get Release body from CHANGELOG.md
run: sed -e '/^$/,$d' CHANGELOG.md > CHANGELOG-${{ inputs.tag }}.md
run: sed -e '/^$/,$d' CHANGELOG.md > CHANGELOG-${{ steps.package-version.outputs.current-version }}.md
- run: tree .
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: CHANGELOG-${{ inputs.tag }}.md
draft: true
body_path: CHANGELOG-${{ steps.package-version.outputs.current-version }}.md
files: |
make/deb/x64/*.deb
make/rpm/x64/*.rpm
make/zip/linux/x64/*.zip
make/zip/win32/x64/*.zip
make/squirrel.windows/x64/*.exe
Anki_japReader.apkg
tag_name: ${{ inputs.tag }}
tag_name: ${{ steps.package-version.outputs.current-version }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.9.5
- Fixed deepl.com broken DOM parsing (there is now a querySelector input in options, so every user can change the string that is used to search for input and output text boxes on deepl.com, so it could be edited by users if it ever changes in the future)
- Added a new japanesepod101 source to CSP

# 1.9.3
- Fixed deepl.com broken DOM parsing

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "japreader",
"productName": "japreader",
"version": "1.9.3",
"version": "1.9.5",
"description": "An Electron app that helps you read Japanese text",
"main": "src/index.js",
"scripts": {
Expand Down
Loading