File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed
Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313
1414 steps :
15+ - name : Install GitHub CLI
16+ uses : cli/gh-action@v2
17+
1518 - name : Checkout repository
1619 uses : actions/checkout@v3
1720
@@ -68,10 +71,22 @@ jobs:
6871 VERSION=${{ steps.vars.outputs.version }}
6972 cd dist
7073 tar -czf srs-resolver-$VERSION-linux-amd64.tar.gz srs-resolver-$VERSION
71-
72- - name : Upload release archive
74+
75+ - name : Upload tagged release
76+ if : startsWith(github.ref, 'refs/tags/')
7377 uses : softprops/action-gh-release@v1
7478 with :
7579 files : dist/srs-resolver-${{ steps.vars.outputs.version }}-linux-amd64.tar.gz
7680 env :
7781 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82+
83+ - name : Upload test release
84+ if : github.event_name == 'workflow_dispatch'
85+ run : |
86+ gh release delete test -y || true
87+ gh release create test \
88+ --title "Test Build" \
89+ --notes "Test build created via workflow_dispatch" \
90+ dist/srs-resolver-${{ steps.vars.outputs.version }}-linux-amd64.tar.gz
91+ env :
92+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 5454 * /README.md
5555 ! Installation instructions updated
5656 + Added installation instructions with systemd service
57+
58+ 2025-10-13 01:45 UTC+0200 Damian Szlage (damian.szlage/at/driftzone.pl)
59+ ! /.github/workflows/build.yml
60+ + Manage the "test" tag when use workflow_dispatch event
61+ + Improved test release creation
62+ ! /README.md
63+ ! Formatting fixes
Original file line number Diff line number Diff line change 33** A lightweight SRS resolver for Postfix+Dovecot autoresponders**
44Author: Damian Szlage
55License: GPLv3
6- Repository: [ https://github.com/dszlage/srs-resolver ] ( https://github.com/dszlage/srs-resolver )
7- Release: [ https://github.com/dszlage/srs-resolver/releases ] ( https://github.com/dszlage/srs-resolver/releases )
8- Latest release: [ https://github.com/dszlage/srs-resolver/releases/latest ] ( https://github.com/dszlage/srs-resolver/releases/latest )
6+ Repository: [ https://github.com/dszlage/srs-resolver ] ( https://github.com/dszlage/srs-resolver )
7+ Release: [ https://github.com/dszlage/srs-resolver/releases ] ( https://github.com/dszlage/srs-resolver/releases )
8+ Latest release: [ https://github.com/dszlage/srs-resolver/releases/latest ] ( https://github.com/dszlage/srs-resolver/releases/latest )
99
1010---
1111
You can’t perform that action at this time.
0 commit comments