Commit 3e6715f7 authored by Melroy van den Berg's avatar Melroy van den Berg
Browse files

Introduce nr of changes

parent 7c93160d
Pipeline #2321 failed with stage
in 48 seconds
image: python:3.9-alpine
- pip install anybadge
- nr_of_changes=./ number
- anybadge -l Nr of Changes -v $nr_of_changes -f changes.svg --color=#97CA00
#!/usr/bin/env bash
# Calculates the number of changes done (using
# To get only the number output, use:
# ./ number
actual_changes=$(grep '=\|is not set'
nr_of_changes=$(echo "$actual_changes" | wc -l)
echo "Changes vs Vanilla kernel: $nr_of_changes"
if [[ "$1" = "number" ]]; then
echo $nr_of_changes
echo "Changes vs Vanilla kernel: $nr_of_changes"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment