From b3105b439cc55208c3e4bbf586161db9092ab4f1 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Wed, 15 Apr 2020 12:54:46 +0200
Subject: [PATCH] Bump version to 0.1.2

---
 CHANGELOG.md         | 6 ++++++
 TODO.md              | 5 +----
 ghcup.cabal          | 2 +-
 lib/GHCup/Version.hs | 2 +-
 4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4638bf30..7dae0791 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Revision history for ghcup
 
+## 0.1.2 -- 2020-04-15
+
+* Fix bug when removing the set GHC version
+* Fix use of undocumented `GHCUP_INSTALL_BASE_PREFIX` variable
+* skip upgrade if ghcup is already latest version
+
 ## 0.1.1 -- 2020-04-15
 
 * fix awful fdopendir bug on mac bug by updating hpath-posix
diff --git a/TODO.md b/TODO.md
index b0c4bd6a..62c7e907 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,10 +2,7 @@
 
 ## Now
 
-* ghcup migration
-* update static links
-
-* releases, update download info and bootstrap-haskell
+* move out GHCup.Version module, bc it's not library-ish
 
 ## Maybe
 
diff --git a/ghcup.cabal b/ghcup.cabal
index 2144f184..c2a7ecd9 100644
--- a/ghcup.cabal
+++ b/ghcup.cabal
@@ -1,6 +1,6 @@
 cabal-version:      3.0
 name:               ghcup
-version:            0.1.1
+version:            0.1.2
 synopsis:           ghc toolchain installer as an exe/library
 description:
   A rewrite of the shell script ghcup, for providing
diff --git a/lib/GHCup/Version.hs b/lib/GHCup/Version.hs
index 50f45f14..3686ac00 100644
--- a/lib/GHCup/Version.hs
+++ b/lib/GHCup/Version.hs
@@ -14,4 +14,4 @@ ghcupURL :: URI
 ghcupURL = [uri|https://www.haskell.org/ghcup/data/ghcup-0.0.1.json|]
 
 ghcUpVer :: PVP
-ghcUpVer = [pver|0.1.1|]
+ghcUpVer = [pver|0.1.2|]
-- 
GitLab