File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3939 id : get_version
4040 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
4141 run : |
42- VERSION=$(grep -oP '(?<= #define VERSION\s+")[^"]+ ' main.c || true )
42+ VERSION=$(grep ' #define VERSION' main.c | sed -E 's/.*"([^"]+)".*/\1/' )
4343 if [ -z "$VERSION" ]; then
4444 echo "Failed to extract VERSION from main.c"; exit 1
4545 fi
Original file line number Diff line number Diff line change @@ -371,7 +371,6 @@ Or just `./run.sh &` which is recommended.
371371
372372## TODO
373373- Attaching to already running processes
374- - Create releases
375374- Enable commands over UDP
376375- Enable remote syslog server reporting
377376- Add periodic server health reporting
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sleep 5
2121# Cleanup handler
2222cleanup () {
2323 echo " Cleaning up... killing $pid "
24- kill $pid 2> /dev/null
24+ kill -SIGUSR1 $pid 2> /dev/null
2525}
2626trap cleanup EXIT
2727
You can’t perform that action at this time.
0 commit comments