open-horizon / examples

Code examples you can use with Horizon.
Apache License 2.0
40 stars 65 forks source link

Change exchangePublish.sh to use tag instead of branch #472

Closed bmpotter closed 3 years ago

bmpotter commented 3 years ago

Background: To ensure that an example service doesn't depend on a feature in the hzn CLI or horizon agent that the user doesn't have installed yet, exchangePublish.sh currently checks the version that hzn version returns, adds v at the beginning, and clones the examples repo and switches to that branch (if it exists). These branches have to be manually created, so it is error prone.

Solution:

bmpotter commented 3 years ago

Completed and verified.