From 5d3e15ad6684a6c991be759407b0227bfaf337c3 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 19 Apr 2018 01:56:42 +0200 Subject: Add version --- redprine | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redprine b/redprine index 92e8b1c..309d8ef 100755 --- a/redprine +++ b/redprine @@ -5,6 +5,8 @@ # Downloads and caches GitHub PRs. Update the associated Redmine issue of any # new PRs authored by the owner. +VERSION='0.0.1' + GITHUB_TOKEN='' GITHUB_USERNAME='' GITHUB_OWNER_REPO='' @@ -309,7 +311,7 @@ function parse_arguments () { exit 0 ;; -v | --version) - echo 'TODO' + echo $VERSION exit 0 ;; -- cgit v1.2.3