Skip to content

Commit

Permalink
Update release.sh for Elixir v1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Oct 20, 2020
1 parent c77b7e8 commit da57dcc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function upload {
# UPDATE THIS FOR EVERY RELEASE
hex_version=$1

build ${hex_version} 21.3 1.11.1 1.11.0
build ${hex_version} 21.3 1.10.0 1.10.0
build ${hex_version} 20.3 1.9.4 1.9.0
build ${hex_version} 20.3 1.8.2 1.8.0
Expand All @@ -86,11 +87,11 @@ 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

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 1.9.0 1.10.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 1.9.0 1.10.0
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 1.9.0 1.10.0 1.11.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 1.9.0 1.10.0 1.11.0

pushd "../hexpm-ops"
scripts/kubeexec hexpm --prod -- bin/hexpm eval "Hexpm.ReleaseTasks.script([\"add_install.exs\",\"${hex_version}\",\"1.10.0\",\"1.9.0\",\"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\"])"
scripts/kubeexec hexpm --prod -- bin/hexpm eval "Hexpm.ReleaseTasks.script([\"add_install.exs\",\"${hex_version}\",\"1.11.0\",\"1.10.0\",\"1.9.0\",\"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
Expand Down

0 comments on commit da57dcc

Please sign in to comment.