From edea2a5a3e1aeb7088a4dbc340b10e2838fc6662 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 25 May 2021 08:31:30 +0300 Subject: [NEWS] Created script to quickly add news to the repo --- bin/add-new.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bin/add-new.sh (limited to 'bin/add-new.sh') diff --git a/bin/add-new.sh b/bin/add-new.sh new file mode 100644 index 0000000..2f7da1f --- /dev/null +++ b/bin/add-new.sh @@ -0,0 +1,5 @@ +#!/bin/bash +export NEWS_FILE=$(date +%Y%m%d_%H%M%S)" +vi $NEWS_FILE +git add $NEWS_FILE +git commit -m "$(head -n 1 $NEWS_FILE)" -- cgit v1.2.3