Skip to content

Commit c39cfee

Browse files
committed
2025-10-13 01:45 UTC+0200 Damian Szlage (damian.szlage/at/driftzone.pl)
! /.github/workflows/build.yml + Manage the "test" tag when use workflow_dispatch event + Improved test release creation ! /README.md ! Formatting fixes
1 parent 3762b6a commit c39cfee

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
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 }}

ChangeLog.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,10 @@
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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
**A lightweight SRS resolver for Postfix+Dovecot autoresponders**
44
Author: Damian Szlage
55
License: 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

0 commit comments

Comments
 (0)