Skip to content

Commit

Permalink
use shelljs way of setting envs.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhenry committed Sep 27, 2019
1 parent b79dcb9 commit ff53ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const shell = require('shelljs');
shell.exec("set - eo pipefail")
shell.exec("gem install cocoapods")
shell.exec("export LIB_VERSION = $(git describe--tags`git rev-list --tags --max-count=1`)")
shell.env["LIB_VERSION"] = shell.exec("echo $(git describe --tags `git rev-list --tags --max-count=1`)")
shell.exec("pod lib lint --allow-warnings")
shell.exec("pod trunk push --allow-warnings")

0 comments on commit ff53ad0

Please sign in to comment.