Bump version to 1.2.3.4 and update release automation to generate commit log
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 58s
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 58s
This commit is contained in:
40
.github/workflows/release_automation.yml
vendored
40
.github/workflows/release_automation.yml
vendored
@@ -24,6 +24,8 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v5
|
uses: actions/setup-dotnet@v5
|
||||||
@@ -94,6 +96,40 @@ jobs:
|
|||||||
commit_message: "Update manifest.json for release v${{ env.VERSION }} [skip ci]"
|
commit_message: "Update manifest.json for release v${{ env.VERSION }} [skip ci]"
|
||||||
file_pattern: manifest.json
|
file_pattern: manifest.json
|
||||||
|
|
||||||
|
- name: Generate Commit Log
|
||||||
|
if: success()
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "Generating commit log since last tag..."
|
||||||
|
|
||||||
|
# Get the previous tag
|
||||||
|
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
|
||||||
|
|
||||||
|
if [ -z "$PREV_TAG" ]; then
|
||||||
|
echo "No previous tag found. Getting all commits."
|
||||||
|
start_range=""
|
||||||
|
else
|
||||||
|
echo "Previous tag: $PREV_TAG"
|
||||||
|
start_range="$PREV_TAG.."
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "### What's Changed" > commit_log.md
|
||||||
|
echo "" >> commit_log.md
|
||||||
|
git log --pretty=format:"- %s (%h) by @%an" $start_range >> commit_log.md
|
||||||
|
|
||||||
|
# Combine Changelog from manifest (if exists) and commit log
|
||||||
|
if [ -n "${{ env.CHANGELOG }}" ]; then
|
||||||
|
echo "${{ env.CHANGELOG }}" > release_body.txt
|
||||||
|
echo "" >> release_body.txt
|
||||||
|
echo "" >> release_body.txt
|
||||||
|
cat commit_log.md >> release_body.txt
|
||||||
|
else
|
||||||
|
cat commit_log.md > release_body.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Debug output
|
||||||
|
cat release_body.txt
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
@@ -103,7 +139,9 @@ jobs:
|
|||||||
files: ${{ env.ZIP_PATH }}
|
files: ${{ env.ZIP_PATH }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
generate_release_notes: true
|
generate_release_notes: false
|
||||||
|
body_path: release_body.txt
|
||||||
|
|
||||||
|
|
||||||
# Update Message in Remote Repository
|
# Update Message in Remote Repository
|
||||||
- name: Checkout Central Manifest Repo
|
- name: Checkout Central Manifest Repo
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||||
<Title>Jellyfin Media Bar Enhanced Plugin</Title>
|
<Title>Jellyfin Media Bar Enhanced Plugin</Title>
|
||||||
<Authors>CodeDevMLH</Authors>
|
<Authors>CodeDevMLH</Authors>
|
||||||
<Version>1.2.3.3</Version>
|
<Version>1.2.3.4</Version>
|
||||||
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
|
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -804,16 +804,21 @@
|
|||||||
.misc-info {
|
.misc-info {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
gap: 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.runTime {
|
.runTime {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: 5px;
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.misc-info .separator-icon:last-of-type {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.genre {
|
.genre {
|
||||||
top: calc(50% + 20vh);
|
top: calc(50% + 16vh);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-container {
|
.button-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user