From 3a348b75eb5b1a153a36bb51fd997aaca0072bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Meadows-J=C3=B6nsson?= Date: Sat, 18 Sep 2021 08:49:22 -0600 Subject: [PATCH] Release v0.21.3 --- CHANGELOG.md | 16 +++++++++++++++- mix.exs | 2 +- release.sh | 7 ++++--- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da3629eb..8843c3e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,24 @@ # CHANGELOG +## v0.21.3 (2021-09-18) + +### Enhancements + +* Add config `no_short_urls` and env var `HEX_NO_SHORT_URLS` to disable short URL generation +* Mention `mix hex.sponsor` when fetching packages that accept sponsorship +* Add `--key` option to `mix hex.repo show NAME` to print repository key +* Improve output when update check fails +* Print hint if version resolution is slow + +### Bug fixes + +* Improve version backtracking to fix slow version resolutions and downgrading of dependencies + ## v0.21.2 (2021-04-14) ### Enhancements -* Adds support for `mix hex.package fetch PACKAGE` (without version) +* Add support for `mix hex.package fetch PACKAGE` (without version) ### Bug fixes diff --git a/mix.exs b/mix.exs index d82bd870..405fa3f0 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Hex.MixProject do use Mix.Project - @version "0.21.2" + @version "0.21.3" {:ok, system_version} = Version.parse(System.version()) @elixir_version {system_version.major, system_version.minor, system_version.patch} diff --git a/release.sh b/release.sh index a01050cd..6936e51d 100755 --- a/release.sh +++ b/release.sh @@ -63,6 +63,7 @@ function upload { hex_version=$1 # UPDATE THIS FOR EVERY RELEASE +build ${hex_version} 22.3 1.12.3 1.12.0 build ${hex_version} 21.3 1.11.4 1.11.0 build ${hex_version} 21.3 1.10.4 1.10.0 build ${hex_version} 20.3 1.9.4 1.9.0 @@ -77,9 +78,9 @@ build ${hex_version} 17.5 1.1.1 1.1.0 build ${hex_version} 17.5 1.0.5 1.0.0 rm -rf _build -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 +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 +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 pushd "../hexpm-ops" -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\"])" +scripts/kubeexec hexpm --prod -- bin/hexpm eval "Hexpm.ReleaseTasks.script([\"add_install.exs\",\"${hex_version}\",\"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\"])" popd