Skip to content

Commit

Permalink
Fix release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed Jun 9, 2019
1 parent 2108837 commit 9429d4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function upload {
# UPDATE THIS FOR EVERY RELEASE
hex_version=$1

build ${hex_version} 20.3 1.8.2 1.8.2
build ${hex_version} 20.3 1.8.2 1.8.0
build ${hex_version} 19.3 1.7.4 1.7.0
build ${hex_version} 19.3 1.6.6 1.6.0
build ${hex_version} 18.3 1.5.3 1.5.0
Expand All @@ -84,13 +84,13 @@ build ${hex_version} 18.3 1.2.6 1.2.0
build ${hex_version} 17.5 1.1.1 1.1.0
build ${hex_version} 17.5 1.0.5 1.0.0

pushd ../hexpm-ops
scripts/kubeexec hexpm -- bin/hexpm script add_install.exs ${hex_version} 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0
popd

hex_csv "${hex_version}" 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.7.0 1.8.0
upload "${hex_version}" 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.7.0 1.8.0

pushd "../hexpm-ops"
scripts/kubeexec hexpm --prod -- bin/hexpm eval "Hexpm.ReleaseTasks.script([\"add_install.exs\",\"${hex_version}\",\"1.8.0\",\"1.7.0\",\"1.6.0\",\"1.5.0\",\"1.4.0\",\"1.3.0\",\"1.2.0\",\"1.1.0\",\"1.0.0\"])"
popd

# CDN also needs to be purged

rm -rf _build
Expand Down

0 comments on commit 9429d4f

Please sign in to comment.