diff --git a/.travis.yml b/.travis.yml index 443a1dc..1f47c35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,3 @@ script: cache: directories: - $HOME/.cache/rebar3/ -deploy: - provider: script - script: scripts/hex.sh - on: - tags: true diff --git a/scripts/hex.sh b/scripts/hex.sh deleted file mode 100755 index c1e90d1..0000000 --- a/scripts/hex.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -## Setup hex user -mkdir -p ~/.hex -echo '{username,<<"'${HEX_USERNAME}'">>}.' > ~/.hex/hex.config -echo '{key,<<"'${HEX_KEY}'">>}.' >> ~/.hex/hex.config - -## Add the rebar3 hex plugin to global -mkdir -p ~/.config/rebar3 -echo '{plugins, [rebar3_hex]}.' > ~/.config/rebar3/rebar.config - -./rebar3 hex publish <