Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Name downloads after the version and generate release notes

KnifeLemon60159d04ddb0
diff --git a/.github/release.yml b/.github/release.yml
new file mode 100644
index 00000000..52acd1c8
--- /dev/null
+++ b/.github/release.yml
@@ -0,0 +1,33 @@
+# Categories of the automatically generated release notes ("What's Changed").
+# GitHub lists every pull request merged since the previous release under the first category whose label it has,
+# credits its author, and adds a "New Contributors" section and the full changelog link.
+changelog:
+ exclude:
+ labels:
+ - skip-changelog
+ categories:
+ - title: New formats and engines
+ labels:
+ - formats
+ - engine
+ - title: New features
+ labels:
+ - feature
+ - enhancement
+ - title: Fixes
+ labels:
+ - bug
+ - fix
+ - title: Website and documentation
+ labels:
+ - documentation
+ - website
+ - title: Build and maintenance
+ labels:
+ - build
+ - ci
+ - dependencies
+ - chore
+ - title: Other changes
+ labels:
+ - "*"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f3005cf2..e2b12ab5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,7 +1,10 @@
# Builds the Windows installer and publishes it to GitHub Releases.
# Trigger: push a tag like v1.0.0 (git tag v1.0.0 && git push origin v1.0.0)
#
-# Output (Velopack): Filee-win-Setup.exe, Filee-win-Portable.zip, full + delta .nupkg for in-app updates.
+# Output (Velopack): Filee-<version>-win-Setup.exe, Filee-<version>-win-Portable.zip, and the update feed
+# (releases.win.json + full/delta .nupkg) the next release builds its delta package from.
+# Release notes are generated by GitHub from the pull requests merged since the previous release, grouped by label
+# (.github/release.yml), with their authors and new contributors.
# Large engines are not in the installer; the app offers them on first run and in Settings > Engines.
name: Release
@@ -64,8 +67,21 @@ jobs:
--packDir ${{ env.PUBLISH_DIR }} --mainExe Filee.exe --packTitle Filee
--icon src/Filee.App/Assets/Icons/filee.ico -o Releases
- - name: Upload to GitHub Releases
- run: >
- vpk upload github --repoUrl ${{ github.server_url }}/${{ github.repository }}
- --token ${{ secrets.GITHUB_TOKEN }} --publish
- --releaseName "Filee ${{ steps.version.outputs.value }}" --tag ${{ github.ref_name }} -o Releases
+ # People download these two, so their names carry the version. The update feed keeps Velopack's names.
+ - name: Name downloads after the version
+ shell: pwsh
+ run: |
+ $version = '${{ steps.version.outputs.value }}'
+ Get-ChildItem Releases -Filter '*-Setup.exe' | Rename-Item -NewName "Filee-$version-win-Setup.exe"
+ Get-ChildItem Releases -Filter '*-Portable.zip' | Rename-Item -NewName "Filee-$version-win-Portable.zip"
+ Get-ChildItem Releases | Format-Table Name, Length
+
+ - name: Publish the GitHub release
+ shell: pwsh
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ $version = '${{ steps.version.outputs.value }}'
+ # assets.win.json only describes the local build folder.
+ $files = Get-ChildItem Releases -File | Where-Object Name -ne 'assets.win.json' | ForEach-Object FullName
+ gh release create '${{ github.ref_name }}' --title "Filee $version" --generate-notes --verify-tag @files