Skip to content

Commit de72072

Browse files
author
ronen
committed
version bump
1 parent 7f2e751 commit de72072

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Perquisites:
9090
* Ubuntu (Should work on any Linux system but not tested).
9191

9292
```bash
93-
$ wget https://github.com/narkisr/octo/releases/download/0.8.0/octo
93+
$ wget https://github.com/narkisr/octo/releases/download/0.8.1/octo
9494
$ sudo mv octo /usr/local/bin
9595
```
9696

bin/binary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
cat bin/stub.sh target/octo-0.8.0-standalone.jar > target/octo && chmod +x target/octo
1+
cat bin/stub.sh target/octo-0.8.1-standalone.jar > target/octo && chmod +x target/octo
22

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject octo "0.8.0"
1+
(defproject octo "0.8.1"
22
:description "Github backup tool"
33
:url "https://github.com/narkisr/octo-rewind"
44
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}

src/octo/core.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
(set-level! :debug)
1515

1616
(defn version []
17-
(let [current "0.8.0" last-version (:name (last (sort-by :name (repos/tags "narkisr" "octo"))))]
17+
(let [current "0.8.1" last-version (:name (last (sort-by :name (repos/tags "narkisr" "octo"))))]
1818
(if-not (= current last-version)
1919
(println "octo backup" current ",latest version is" last-version "please upgrade")
2020
(println "octo backup" current))))
@@ -50,7 +50,8 @@ Usage:
5050
octo push {config} - push local repositries into our backup location, repos are bundled and packaged before being pushed.
5151
octo pull {config} - pull backup from remote backup destination to our local workspace folder.
5252
octo stale {config} - print a report listing stale repositries (repositries which code was updated in a while).
53-
octo help - print this help message
53+
octo version - print and check latest version.
54+
octo help - print this help message.
5455
5556
{config} - All the commands expect an edn configuration file as input"))
5657

@@ -61,6 +62,7 @@ Usage:
6162
"push" (-> [:push (c args)] match workspace push- run)
6263
"pull" (-> [:pull (c args)] match workspace push- run)
6364
"stale" (-> [:stale (c args)] match auth run)
65+
"version" (version)
6466
"help" (help)
6567
nil (help))
6668
(catch Exception e

0 commit comments

Comments
 (0)