Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
tags:
- 'v*' # Triggers on version tags like v1.0.0, v2.1.3, etc.
branches:
- main

jobs:
release:
Expand Down Expand Up @@ -52,21 +50,6 @@ jobs:
cd cmd/qpn
go build -o qpn-${{ matrix.os_name }}${{ matrix.extension }}

- name: Get contributors since last release
id: contributors
run: |
# Get the previous tag
$previousTag = git describe --tags --abbrev=0 HEAD^ 2>$null
if ($previousTag) {
$contributors = git log --pretty=format:"%an" $previousTag..HEAD | Sort-Object | Get-Unique
} else {
$contributors = git log --pretty=format:"%an" | Sort-Object | Get-Unique
}
$contributorList = ($contributors | ForEach-Object { "- @$_" }) -join "`n"
echo "contributors<<EOF" >> $env:GITHUB_OUTPUT
echo $contributorList >> $env:GITHUB_OUTPUT
echo "EOF" >> $env:GITHUB_OUTPUT

- name: Create Release Archive
run: |
mkdir release-${{ matrix.os_name }}
Expand Down
Loading