Skip to content

Commit

Permalink
Release v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed May 15, 2016
1 parent 0633079 commit f3696c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## v0.12.0-dev
## v0.12.0 (2016-05-15)

* Enhancements
* Add package checksums to lock, ensuring a locked package can not change it's content
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Hex.Mixfile do

def project do
[app: :hex,
version: "0.12.0-dev",
version: "0.12.0",
elixir: "~> 1.0",
aliases: aliases,
deps: deps,
Expand Down
12 changes: 6 additions & 6 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ function join { local IFS="$1"; shift; echo "$*"; }
# $3 = elixir version
# $4 = saved elixir version
function build {
rm erln8.config || true
rm .tool_versions || true
rm -rf _build || true

echo -e "[Config]\nErlang=${2}\nElixir=v${3}" > erln8.config
echo -e "erlang ${2}\nelixir ${3}" > .tool_versions

MIX_ENV=prod mix compile

Expand Down Expand Up @@ -62,13 +62,13 @@ function upload {
# UPDATE THIS FOR EVERY RELEASE
hex_version=$1

build ${hex_version} 18.3.1 1.2.4 1.2.0
build ${hex_version} 17.5.6.8 1.1.1 1.1.0
build ${hex_version} 17.5.6.8 1.0.5 1.0.0
build ${hex_version} 18.3.3 1.2.5 1.2.0
build ${hex_version} 17.5.6.9 1.1.1 1.1.0
build ${hex_version} 17.5.6.9 1.0.5 1.0.0

hex_csv ${hex_version} 1.0.0 1.1.0 1.2.0
upload ${hex_version} 1.0.0 1.1.0 1.2.0


rm -rf _build
rm -rf erln8.config
rm -rf .tool_versions

0 comments on commit f3696c0

Please sign in to comment.