Skip to content

Commit

Permalink
First release
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-szabo committed Apr 2, 2019
1 parent 25ca47c commit 5d7e4ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .circleci/release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ if [[ $ERR -ne 0 ]]; then
exit $ERR
fi

#The proof of the pudding is the eating. - Cervantes
export id="`build/stoml_linux_amd64 draft.json id`"
wget -q "https://github.com/freshautomations/stoml/releases/download/v${STOML_VERSION}/stoml_linux_amd64"
chmod +x ./stoml_linux_amd64
export id="`./stoml_linux_amd64 draft.json id`"
if [ -z "$id" ]; then
echo "ERROR: Could not get draft id."
exit 1
Expand All @@ -57,8 +58,6 @@ if [[ $ERR -ne 0 ]]; then
exit $ERR
fi

wget -q "https://github.com/freshautomations/stoml/releases/download/v${STOML_VERSION}/stoml_linux_amd64"
chmod +x ./stoml_linux_amd64
export uid="`./stoml_linux_amd64 upload.json id`"
if [ -z "$uid" ]; then
echo "ERROR: Could not get upload id for binary ${binary}."
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ stemplate dictionary.json file.template
```

Check the `test.json` and `test.template` files for an [example](#example).

Optionally, you can use the `--output` or `-o` flags to add a file where the result will be written,
instead of the default `stdout`.

Expand Down

0 comments on commit 5d7e4ab

Please sign in to comment.