diff options
author | NoDRM <[email protected]> | 2023-08-03 21:21:49 +0200 |
---|---|---|
committer | NoDRM <[email protected]> | 2023-08-03 21:53:16 +0200 |
commit | 10b6caf9f51f4ec975098700d039a4b5773204d1 (patch) | |
tree | 32ef5444a03ac2df473f3166b94e09a19900d7a4 /.github | |
parent | 53996cf49c504264a3632576f15fc492dd371860 (diff) |
Enable autorelease into 2nd repo
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 71 |
1 files changed, 29 insertions, 42 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cfcf2c..af937d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,46 +20,33 @@ jobs: path: | 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 -# with: -# tag: autorelease -# token: ${{ github.token }} -# -# - name: Delete old tag -# uses: dev-drprasad/[email protected] -# 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/[email protected] -# with: -# token: ${{ github.token }} -# id: ${{ steps.autorelease.outputs.id }} -# draft: false -# prerelease: true -# -#
\ No newline at end of file + + - uses: dev-drprasad/[email protected] + with: + repo: noDRM/DeDRM_tools_autorelease + keep_latest: 0 + delete_tags: true + env: + GITHUB_TOKEN: ${{ secrets.AUTORELEASE_KEY }} + + - name: Auto-release + id: autorelease + uses: softprops/action-gh-release@v1 + with: + tag_name: autorelease_${{ github.sha }} + repository: noDRM/DeDRM_tools_autorelease + token: ${{ secrets.AUTORELEASE_KEY }} + 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 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. + + Last update based on Git commit [${{ github.sha }}](https://github.com/noDRM/DeDRM_tools/commit/${{ github.sha }}). + prerelease: true + draft: false + files: DeDRM_alpha_${{ github.sha }}.zip |