File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" }
Original file line number Diff line number Diff line change 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))))
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
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
You can’t perform that action at this time.
0 commit comments