Skip to content

Commit 50acd48

Browse files
committed
Release v2.0.0
1 parent a756557 commit 50acd48

File tree

3 files changed

+28
-26
lines changed

3 files changed

+28
-26
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# CHANGELOG
22

3+
## v2.0.0 (2022-10-30)
4+
5+
### Enhancements
6+
7+
* New version solver with higher performance and better error messages
8+
* Switch to IPv6 if requests fail due to connection errors
9+
10+
### Bug fixes
11+
12+
* Fix browser opening on Windows
13+
314
## v1.0.1 (2021-12-14)
415

516
### Bug fixes

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Hex.MixProject do
22
use Mix.Project
33

4-
@version "2.0.0-dev"
4+
@version "2.0.0"
55

66
def project do
77
[

scripts/release.sh

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ function join { local IFS="$1"; shift; echo "$*"; }
88
# $2 = erlang version
99
# $3 = elixir version
1010
# $4 = saved elixir version
11+
# $5 = ubuntu version
1112
function build {
1213
rm -rf _build src/mix_safe_erl_term.erl
13-
docker run -v $PWD:/hex hexpm/elixir:${3}-erlang-${2}-ubuntu-xenial-20200212 sh -c "cd /hex && MIX_ENV=prod mix archive.build -o hex.ez"
14-
docker run -v $PWD:/hex hexpm/elixir:${3}-erlang-${2}-ubuntu-xenial-20200212 sh -c "cd /hex && MIX_ENV=prod mix archive.build -o hex-${1}.ez"
14+
docker run -v $PWD:/hex hexpm/elixir:${3}-erlang-${2}-ubuntu-${5} sh -c "mix local.hex --force"
15+
docker run -v $PWD:/hex hexpm/elixir:${3}-erlang-${2}-ubuntu-${5} sh -c "cd /hex && mix local.hex --force && MIX_ENV=prod mix archive.build -o hex.ez"
16+
docker run -v $PWD:/hex hexpm/elixir:${3}-erlang-${2}-ubuntu-${5} sh -c "cd /hex && mix local.hex --force && MIX_ENV=prod mix archive.build -o hex-${1}.ez"
1517
cp hex.ez hex-elixir-${4}.ez
1618
cp hex-${1}.ez hex-${1}-elixir-${4}.ez
1719
}
@@ -53,35 +55,24 @@ function upload {
5355
s3up "hex-${1}-elixir-${elixir}.ez" "${elixir}/hex-${1}.ez"
5456
done
5557

56-
# special case 1.0.0 upload
57-
s3up hex-elixir-1.0.0.ez hex.ez
58-
5958
s3up hex-1.x.csv hex-1.x.csv
6059
s3up hex-1.x.csv.signed hex-1.x.csv.signed
6160
}
6261

6362
hex_version=$1
6463

6564
# UPDATE THIS FOR EVERY RELEASE
66-
build ${hex_version} 22.3 1.13.0 1.13.0
67-
build ${hex_version} 22.3 1.12.3 1.12.0
68-
build ${hex_version} 21.3 1.11.4 1.11.0
69-
build ${hex_version} 21.3 1.10.4 1.10.0
70-
build ${hex_version} 20.3 1.9.4 1.9.0
71-
build ${hex_version} 20.3 1.8.2 1.8.0
72-
build ${hex_version} 19.3 1.7.4 1.7.0
73-
build ${hex_version} 19.3 1.6.6 1.6.0
74-
build ${hex_version} 18.3 1.5.3 1.5.0
75-
build ${hex_version} 18.3 1.4.5 1.4.0
76-
build ${hex_version} 18.3 1.3.4 1.3.0
77-
build ${hex_version} 18.3 1.2.6 1.2.0
78-
build ${hex_version} 17.5 1.1.1 1.1.0
79-
build ${hex_version} 17.5 1.0.5 1.0.0
65+
build ${hex_version} 23.3 1.14.1 1.14.0 xenial-20210114
66+
build ${hex_version} 22.3 1.13.4 1.13.0 xenial-20200212
67+
build ${hex_version} 22.3 1.12.3 1.12.0 xenial-20200212
68+
build ${hex_version} 21.3 1.11.4 1.11.0 xenial-20200212
69+
build ${hex_version} 21.3 1.10.4 1.10.0 xenial-20200212
70+
build ${hex_version} 20.3 1.9.4 1.9.0 xenial-20200212
71+
build ${hex_version} 20.3 1.8.2 1.8.0 xenial-20200212
72+
build ${hex_version} 19.3 1.7.4 1.7.0 xenial-20200212
73+
build ${hex_version} 19.3 1.6.6 1.6.0 xenial-20200212
74+
build ${hex_version} 18.3 1.5.3 1.5.0 xenial-20200212
8075
rm -rf _build
8176

82-
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 1.12.0 1.13.0
83-
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 1.12.0 1.13.0
84-
85-
pushd "../hexpm-ops"
86-
scripts/kubeexec hexpm --prod -- bin/hexpm eval "Hexpm.ReleaseTasks.script([\"add_install.exs\",\"${hex_version}\",\"1.13.0\",\"1.12.0\",\"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\"])"
87-
popd
77+
hex_csv "${hex_version}" 1.5.0 1.6.0 1.7.0 1.8.0 1.9.0 1.10.0 1.11.0 1.12.0 1.13.0 1.14.0
78+
upload "${hex_version}" 1.5.0 1.6.0 1.7.0 1.8.0 1.9.0 1.10.0 1.11.0 1.12.0 1.13.0 1.14.0

0 commit comments

Comments
 (0)