diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2021-05-25 08:31:30 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2021-05-25 08:31:30 +0300 |
commit | edea2a5a3e1aeb7088a4dbc340b10e2838fc6662 (patch) | |
tree | 9d19c38ce41c16031e02e2113c007a9d3570eb4a /bin | |
parent | 34d7238819acd6d2e23fea321742198d01ecf9f8 (diff) | |
download | 01-NEWS-edea2a5a3e1aeb7088a4dbc340b10e2838fc6662.tar.gz 01-NEWS-edea2a5a3e1aeb7088a4dbc340b10e2838fc6662.tar.bz2 01-NEWS-edea2a5a3e1aeb7088a4dbc340b10e2838fc6662.zip |
[NEWS] Created script to quickly add news to the repo
Diffstat (limited to 'bin')
-rw-r--r-- | bin/add-new.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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)" |