~aleteoryx/muditaos

ref: cd649c69ae2e5f628fc8d82a0e7e282aa067c814 muditaos/tools/last_changelog.awk -rwxr-xr-x 270 bytes
cd649c69 — Marek Niepieklo [EGD-7111] Restore calendarEvents endpoint number 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/awk -f
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

BEGIN {
    version_count=0
}

/^## / {
    version_count++
}

{
    if(version_count < 2) {
        print $0
    }
}