Skip to content

v3.1.0: Dark mode, .NET 10, NuGet resolver, remove C++ shell extension #10

v3.1.0: Dark mode, .NET 10, NuGet resolver, remove C++ shell extension

v3.1.0: Dark mode, .NET 10, NuGet resolver, remove C++ shell extension #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 10
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Publish single-file exe
run: dotnet publish AssemblyInformation/AssemblyInformation.csproj -c Release -r win-x64 --no-self-contained -p:PublishSingleFile=true -o publish
- name: Create release zip
run: |
$stagingDir = "staging"
New-Item -ItemType Directory -Path $stagingDir
Copy-Item publish\AssemblyInformation.exe $stagingDir\
Copy-Item install.cmd $stagingDir\
Copy-Item uninstall.cmd $stagingDir\
Compress-Archive -Path $stagingDir\* -DestinationPath AssemblyInformation-${{ github.ref_name }}-win-x64.zip
shell: pwsh
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
body: |
**[Download AssemblyInformation-${{ github.ref_name }}-win-x64.zip](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/AssemblyInformation-${{ github.ref_name }}-win-x64.zip)**
**Requires:** [.NET 10 Desktop Runtime](https://dotnet.microsoft.com/download/dotnet/10.0) or newer
### Installation
1. Download and extract the zip
2. Run `install.cmd` as Administrator
3. Right-click any .dll or .exe in Explorer → "Assembly Information"
To uninstall, run `uninstall.cmd` as Administrator.
files: |
AssemblyInformation-${{ github.ref_name }}-win-x64.zip