Skip to content
Permalink
Browse files

update release candidate script

  • Loading branch information...
ConnorRigby committed Oct 29, 2019
1 parent ac5336d commit 2c5e6aa1edee6adb31b6d04e3a00f0ec5f88d2b2
Showing with 2 additions and 2 deletions.
  1. +1 −1 VERSION
  2. +1 −1 scripts/release_candidate.exs
@@ -1 +1 @@
8.2.0-rc1
8.2.0-rc1
@@ -2,7 +2,7 @@
{_, 0} = System.cmd("git", ["checkout", "staging"], into: IO.stream(:stdio, :line))
{_, 0} = System.cmd("git", ["fetch", "--all"], into: IO.stream(:stdio, :line))
{_, 0} = System.cmd("git", ["reset", "--hard", "origin/staging"], into: IO.stream(:stdio, :line))
version = File.read!("VERSION") |> Version.parse!()
version = File.read!("VERSION") |> String.trim() |> Version.parse!()
[<<"rc", rc :: binary>>] = version.pre
version = %{version | pre: ["rc#{String.to_integer(rc) + 1}"]}
:ok = File.write!("VERSION", to_string(version))

0 comments on commit 2c5e6aa

Please sign in to comment.
You can’t perform that action at this time.