mirror of
https://github.com/noDRM/DeDRM_tools
synced 2024-12-24 21:58:54 +01:00
Enable autorelease into 2nd repo
This commit is contained in:
parent
53996cf49c
commit
10b6caf9f5
3 changed files with 35 additions and 45 deletions
71
.github/workflows/main.yml
vendored
71
.github/workflows/main.yml
vendored
|
@ -20,46 +20,33 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
DeDRM_tools_*.zip
|
DeDRM_tools_*.zip
|
||||||
DeDRM_tools.zip
|
DeDRM_tools.zip
|
||||||
|
|
||||||
|
- name: Prepare release
|
||||||
|
run: cp DeDRM_tools.zip DeDRM_alpha_${{ github.sha }}.zip
|
||||||
|
|
||||||
# - name: Delete old release
|
|
||||||
# uses: cb80/delrel@latest
|
- uses: dev-drprasad/delete-older-releases@v0.2.1
|
||||||
# with:
|
with:
|
||||||
# tag: autorelease
|
repo: noDRM/DeDRM_tools_autorelease
|
||||||
# token: ${{ github.token }}
|
keep_latest: 0
|
||||||
#
|
delete_tags: true
|
||||||
# - name: Delete old tag
|
env:
|
||||||
# uses: dev-drprasad/delete-tag-and-release@v1.0
|
GITHUB_TOKEN: ${{ secrets.AUTORELEASE_KEY }}
|
||||||
# with:
|
|
||||||
# tag_name: autorelease
|
- name: Auto-release
|
||||||
# github_token: ${{ github.token }}
|
id: autorelease
|
||||||
# delete_release: true
|
uses: softprops/action-gh-release@v1
|
||||||
#
|
with:
|
||||||
# - name: Prepare release
|
tag_name: autorelease_${{ github.sha }}
|
||||||
# run: cp DeDRM_tools.zip DeDRM_alpha_${{ github.sha }}.zip
|
repository: noDRM/DeDRM_tools_autorelease
|
||||||
#
|
token: ${{ secrets.AUTORELEASE_KEY }}
|
||||||
# - name: Auto-release
|
name: Automatic alpha release with latest changes
|
||||||
# id: autorelease
|
body: |
|
||||||
# uses: softprops/action-gh-release@v1
|
This release is automatically generated by Github for each commit.
|
||||||
# with:
|
|
||||||
# tag_name: autorelease
|
This means, every time a change is made to the repo, a release with an untested copy of the plugin at that stage will be created. This will contain the most up-to-date code, but it's not tested at all and may be broken.
|
||||||
# token: ${{ github.token }}
|
|
||||||
# name: Automatic alpha release with latest changes
|
Last update based on Git commit [${{ github.sha }}](https://github.com/noDRM/DeDRM_tools/commit/${{ github.sha }}).
|
||||||
# body: |
|
prerelease: true
|
||||||
# This release is automatically generated by Github for each commit.
|
draft: false
|
||||||
#
|
files: DeDRM_alpha_${{ github.sha }}.zip
|
||||||
# This means, every time a change is made to this repo, this release will be updated to contain an untested copy of the plugin at that stage. This will contain the most up-to-date code, but it's not tested at all and may be broken.
|
|
||||||
#
|
|
||||||
# Last update based on Git commit ${{ github.sha }}.
|
|
||||||
# prerelease: true
|
|
||||||
# draft: true
|
|
||||||
# files: DeDRM_alpha_${{ github.sha }}.zip
|
|
||||||
#
|
|
||||||
# - name: Make release public
|
|
||||||
# uses: irongut/EditRelease@v1.2.0
|
|
||||||
# with:
|
|
||||||
# token: ${{ github.token }}
|
|
||||||
# id: ${{ steps.autorelease.outputs.id }}
|
|
||||||
# draft: false
|
|
||||||
# prerelease: true
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
|
@ -44,6 +44,7 @@ __version__ = '7.4'
|
||||||
import sys, os, struct, getopt
|
import sys, os, struct, getopt
|
||||||
from base64 import b64decode
|
from base64 import b64decode
|
||||||
|
|
||||||
|
#@@CALIBRE_COMPAT_CODE@@
|
||||||
|
|
||||||
|
|
||||||
from .utilities import SafeUnbuffered
|
from .utilities import SafeUnbuffered
|
||||||
|
|
|
@ -3,11 +3,13 @@ DeDRM tools for ebooks
|
||||||
|
|
||||||
This is a fork of Apprentice Harper's version of the DeDRM tools. Apprentice Harper said that the original version of the plugin [is no longer maintained](https://github.com/apprenticeharper/DeDRM_tools#no-longer-maintained), so I've taken over, merged a bunch of open PRs, and added a ton more features and bugfixes.
|
This is a fork of Apprentice Harper's version of the DeDRM tools. Apprentice Harper said that the original version of the plugin [is no longer maintained](https://github.com/apprenticeharper/DeDRM_tools#no-longer-maintained), so I've taken over, merged a bunch of open PRs, and added a ton more features and bugfixes.
|
||||||
|
|
||||||
The latest stable (released) version is v10.0.3 which [can be downloaded here](https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.3).
|
The latest stable (released) version is v10.0.3 which [can be downloaded here](https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.3). The latest beta is v10.0.9, as a release candidate for v10.1.0. It [can be downloaded here](https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.9).
|
||||||
|
|
||||||
Take a look at [the CHANGELOG](https://github.com/noDRM/DeDRM_tools/blob/master/CHANGELOG.md) to see a list of changes since the last version by Apprentice Harper (v7.2.1). This plugin will start with version v10.0.0.
|
The latest alpha version is available [at this link](https://github.com/noDRM/DeDRM_tools_autorelease/releases). This version is completely untested and will contain the latest code changes in this repository. With each commit in this repository, a new automatic alpha version will be uploaded there. If you want the most up-to-date code to test things and are okay with the plugin occasionally breaking, you can download this version.
|
||||||
|
|
||||||
The v10.0.0 versions of this plugin should both work with Calibre 5.x (Python 3) as well as Calibre 4.x and lower (Python 2). If you encounter issues with this plugin in Calibre 4.x or lower, please open a bug report.
|
Take a look at [the CHANGELOG](https://github.com/noDRM/DeDRM_tools/blob/master/CHANGELOG.md) to see a list of changes since the last version by Apprentice Harper (v7.2.1).
|
||||||
|
|
||||||
|
My version of the plugin should both work with Calibre 5.x/6.x (Python 3) as well as Calibre 4.x and lower (Python 2). If you encounter issues with this plugin in Calibre 4.x or lower, please open a bug report.
|
||||||
|
|
||||||
# Original README from Apprentice Harper
|
# Original README from Apprentice Harper
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue