Skip to content

Final changes for v2.5.7 patch release #11

Final changes for v2.5.7 patch release

Final changes for v2.5.7 patch release #11

Workflow file for this run

name: Release General
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
name: Build and upload release tarball
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Installing dependencies ...
run: |
sudo modprobe ip_gre
sudo apt-get -y update
sudo apt-get -y install pkg-config libsystemd-dev libcap-dev tshark iptables valgrind
- name: Creating Makefiles ...
run: |
./autogen.sh
./configure --prefix= --enable-mrdisc --enable-test
- name: Build release ...
run: |
make release || (cat test/test-suite.log; false)
ls -lF ../
mkdir -p artifacts/
mv ../*.tar.* artifacts/
- name: Extract ChangeLog entry ...
run: |
awk '/-----*/{if (x == 1) exit; x=1;next}x' ChangeLog.md \
|head -n -1 > release.md
cat release.md
- uses: ncipollo/release-action@v1
with:
name: SMCRoute v${{ github.ref_name }}
bodyFile: "release.md"
artifacts: "artifacts/*"