summaryrefslogtreecommitdiff
path: root/doc/changelog/pendings/create.sh
blob: 8b5d670a5fca041313626800d77be8d434468557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash

unamestr=$(uname)
echo "OS: $unamestr"
if [[ "$unamestr" == 'Darwin' ]]; then
   rev=$(gdate +%s%N );
else
   rev=$(date +%s%N );
fi

CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )";

filename=changes_"$rev".md

echo "Insert your changelog here

### How to upgrade

Add instructions on how to adapt the code to the new changes

" > "$CUR_PATH/$filename" && echo "File created: $filename";