Skip to content

Commit

Permalink
Release v0.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed Sep 18, 2021
1 parent c67ce8a commit 3a348b7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
7 changes: 4 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3a348b7

Please sign in to comment.