We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd8657 commit a286d8cCopy full SHA for a286d8c
scripts/prepare_newsletter.sh
@@ -10,9 +10,12 @@ read -r -d '\n' -a news <<< `find content/news/ -type d -printf "%f\n"| sort -n`
10
11
last_news=`echo ${news[-1]} | sed -r s/0//`
12
echo $last_news
13
+echo $((last_news+1))
14
news_to_create_simple=$((last_news+1))
15
+echo $news_to_create_simple
16
+printf "%#03s" $news_to_create_simple
17
news_to_create=`printf "%#03s" $news_to_create_simple`
-
18
+echo $news_to_create
19
read -e -p "Do you want to create issue $news_to_create? (y/n): " choice
20
21
[[ "$choice" != [Yy]* ]] && exit
0 commit comments