mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-12-28 12:07:39 +06:00
Update CI to create an automatic beta release
This commit is contained in:
parent
abc5de018e
commit
9ae77c438f
44
.github/workflows/main.yml
vendored
44
.github/workflows/main.yml
vendored
@ -9,8 +9,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
run: python3 make_release.py
|
run: python3 make_release.py
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -18,3 +20,45 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
DeDRM_tools_*.zip
|
DeDRM_tools_*.zip
|
||||||
DeDRM_tools.zip
|
DeDRM_tools.zip
|
||||||
|
|
||||||
|
- name: Delete old release
|
||||||
|
uses: cb80/delrel@latest
|
||||||
|
with:
|
||||||
|
tag: autorelease
|
||||||
|
token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Delete old tag
|
||||||
|
uses: dev-drprasad/delete-tag-and-release@v1.0
|
||||||
|
with:
|
||||||
|
tag_name: autorelease
|
||||||
|
github_token: ${{ github.token }}
|
||||||
|
delete_release: true
|
||||||
|
|
||||||
|
- name: Prepare release
|
||||||
|
run: cp DeDRM_tools.zip DeDRM_alpha_${{ github.sha }}.zip
|
||||||
|
|
||||||
|
- name: Auto-release
|
||||||
|
id: autorelease
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
tag_name: autorelease
|
||||||
|
token: ${{ github.token }}
|
||||||
|
name: Automatic alpha release with latest changes
|
||||||
|
body: |
|
||||||
|
This release is automatically generated by Github for each commit.
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ 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 `master` build (will be automatically updated with every code change, may be unstable) [can be found here](https://github.com/noDRM/DeDRM_tools/releases/tag/autorelease).
|
||||||
|
|
||||||
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.
|
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 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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user