diff --git a/.github/workflows/release_automation.yml b/.github/workflows/release_automation.yml index 229ef1f..a8d2e5f 100644 --- a/.github/workflows/release_automation.yml +++ b/.github/workflows/release_automation.yml @@ -24,6 +24,8 @@ jobs: uses: actions/checkout@v6 with: token: ${{ secrets.GITHUB_TOKEN }} + fetch-depth: 0 + - name: Setup .NET uses: actions/setup-dotnet@v5 @@ -94,6 +96,40 @@ jobs: commit_message: "Update manifest.json for release v${{ env.VERSION }} [skip ci]" 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 uses: softprops/action-gh-release@v2 with: @@ -103,7 +139,9 @@ jobs: files: ${{ env.ZIP_PATH }} draft: false prerelease: false - generate_release_notes: true + generate_release_notes: false + body_path: release_body.txt + # Update Message in Remote Repository - name: Checkout Central Manifest Repo diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj b/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj index 1e52304..e304400 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj +++ b/Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj @@ -12,7 +12,7 @@ Jellyfin Media Bar Enhanced Plugin CodeDevMLH - 1.2.3.3 + 1.2.3.4 https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.css b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.css index 4e68e1c..02ea457 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.css +++ b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.css @@ -804,16 +804,21 @@ .misc-info { flex-wrap: wrap; justify-content: center; + gap: 0px 10px; } .runTime { width: 100%; justify-content: center; - margin-top: 5px; + margin-top: 0; + } + + .misc-info .separator-icon:last-of-type { + display: none; } .genre { - top: calc(50% + 20vh); + top: calc(50% + 16vh); } .button-container {