project-flogo / cli

CLI used to create & build Flogo applications.
BSD 3-Clause "New" or "Revised" License
32 stars 36 forks source link

Retrieve version of CLI from Git when building from source #112

Closed debovema closed 4 years ago

debovema commented 4 years ago

Fixes #113

Quick test:

docker run -it --rm golang

git clone https://github.com/debovema/cli.git
cd cli
git checkout guess-version
go install ./...

then using flogo --version command

gives the following result:

flogo cli version 0.9.1-rc.3-8-g64f9e81
flogo-oss commented 4 years ago

CLA assistant check
All committers have signed the CLA.