This commit is contained in:
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@@ -3,12 +3,13 @@ name: '🏗️ Build Plugin'
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
- dev
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
13
.github/workflows/release_automation.yml
vendored
13
.github/workflows/release_automation.yml
vendored
@@ -70,7 +70,7 @@ jobs:
|
|||||||
REPO_OWNER="${{ github.repository_owner }}"
|
REPO_OWNER="${{ github.repository_owner }}"
|
||||||
REPO_NAME="${{ github.event.repository.name }}"
|
REPO_NAME="${{ github.event.repository.name }}"
|
||||||
VERSION="${{ env.VERSION }}"
|
VERSION="${{ env.VERSION }}"
|
||||||
DOWNLOAD_URL="https://github.com/$REPO_OWNER/$REPO_NAME/releases/download/v$VERSION/Jellyfin.Plugin.Seasonals.zip"
|
DOWNLOAD_URL="https://git.mahom03-spacecloud.de/${{ github.repository }}/releases/download/v$VERSION/Jellyfin.Plugin.Seasonals.zip"
|
||||||
|
|
||||||
echo "Updating manifest.json with:"
|
echo "Updating manifest.json with:"
|
||||||
echo "Hash: ${{ env.ZIP_HASH }}"
|
echo "Hash: ${{ env.ZIP_HASH }}"
|
||||||
@@ -90,12 +90,13 @@ jobs:
|
|||||||
file_pattern: manifest.json
|
file_pattern: manifest.json
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
tag_name: "v${{ env.VERSION }}"
|
server_url: "https://git.mahom03-spacecloud.de"
|
||||||
name: "v${{ env.VERSION }}"
|
body: ${{ env.CHANGELOG }}
|
||||||
# body: ${{ env.CHANGELOG }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: ${{ env.ZIP_PATH }}
|
files: ${{ env.ZIP_PATH }}
|
||||||
|
name: "v${{ env.VERSION }}"
|
||||||
|
tag_name: "v${{ env.VERSION }}"
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
generate_release_notes: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user