diff options
| author | Shulhan <ms@kilabit.info> | 2021-06-09 16:06:19 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-06-09 16:06:19 +0700 |
| commit | f3a2265feeaffc31fc9d7e1d1b7f12107140a33e (patch) | |
| tree | 4a8cb8772896f045fa3ec7188ea2e42378d22b61 /awwan.go | |
| parent | 5b7e73734ad45a265381bfceee6bbcf5db76ca40 (diff) | |
| download | awwan-0.3.0.tar.xz | |
Release awwan 0.3.0 (2021.06.09)v0.3.0
* go.mod: set the minimum Go to 1.16 and update to share module v0.25.1
=== Enhancements
* cmd/awwan: print the awwan version on command usage output
* all: check and return an error if start index is out of range
* all: log error when executing script (local or play)
* all: do not load SSH config if command mode is "local"
If the mode is local there is no need to parse and load the SSH config,
since the command to be executed will run on local machine anyway.
* all: set base dir based on the first .ssh directory that we found
Previously, the base directory is set on current working directory.
This limit the way to execute awwan only from the directory
that contains the .ssh directory.
This changes set the environment BaseDir based on the first .ssh
directory that we found from script path up to the "/". So, user can
execute awwan script from any sub-directories.
Diffstat (limited to 'awwan.go')
| -rw-r--r-- | awwan.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,8 @@ package awwan const ( + Version = "0.3.0" + modeLocal = "local" modePlay = "play" |
