From d9159638718a32b07e8613a32ea489866cd80f6b Mon Sep 17 00:00:00 2001 From: Ashley Yakeley <ashley@semantic.org> Date: Sat, 12 Jun 2021 12:45:26 -0700 Subject: [PATCH] version numbers for 1.12 release --- .github/workflows/ci.yml | 4 ++-- Checklist | 41 +++++++++++++++++++++++----------------- changelog.md | 2 +- fullcheck | 3 +-- fullcheck.ps1 | 2 +- stack.yaml | 2 +- stack.yaml.lock | 8 ++++---- time.cabal | 4 ++-- 8 files changed, 36 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f51269c..108c24a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macOS-latest] - ghc: ['9.0', '8.10', '8.8'] + ghc: ['9.0.1', '8.10.5', '8.8.4'] steps: - uses: actions/checkout@v2 - uses: haskell/actions/setup@v1.2.1 @@ -42,7 +42,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['9.0', '8.10', '8.8'] + ghc: ['9.0.1', '8.10.5', '8.8.4'] steps: - uses: actions/checkout@v2 - uses: haskell/actions/setup@v1.2.1 diff --git a/Checklist b/Checklist index 2b26a45..ffdad04 100644 --- a/Checklist +++ b/Checklist @@ -19,61 +19,68 @@ Before release: changelog.md -5. Use correct GHC versions & latest LTS resolver +5. Use latest LTS resolver https://www.stackage.org/lts stack.yaml + +6. Use correct & latest GHC versions + + https://www.haskell.org/ghc/download.html fullcheck fullcheck.ps1 + time.cabal + - tested-with + - base dependency lower bound .github/workflows/ci.yml -6. Use latest stack +7. Use latest stack stack upgrade stack --version -7. Format source +8. Format source ./format-all -8. Build & test +9. Build & test ./fullcheck -9. Run benchmarks +10. Run benchmarks stack bench -10. Inspect generated haddock +11. Inspect generated haddock, if necessary `stack path --local-doc-root`/index.html -11. Commit and push changes to repo +12. Commit and push changes to repo git commit -a git push -12. Check builds (these can be done in parallel) +13. Check builds (these can be done in parallel) -12a. Check GitHub build +13a. Check GitHub build https://github.com/haskell/time/actions -12b. Build and test on 32-bit Linux machine +13b. Build and test on 32-bit Linux machine stack upgrade stack --version git pull ./fullcheck -12c. Build and test on FreeBSD machine +13c. Build and test on FreeBSD machine stack upgrade stack --version git pull ./fullcheck -12d. Build and test on Windows +13d. Build and test on Windows (in PowerShell) Set-ExecutionPolicy -Scope CurrentUser RemoteSigned @@ -82,28 +89,28 @@ Before release: git pull .\fullcheck -13. Upload to Hackage +14. Upload to Hackage git clean -dXf autoreconf -i stack upload . http://hackage.haskell.org/package/time -14. Tag commit +15. Tag commit git tag -a -s VERSION -m "Version VERSION" git push --tags -15. Update ghc branch +16. Update ghc branch git checkout ghc git merge master git push -16. Restore local branch for next development +17. Restore local branch for next development git checkout master -17. Close completed milestone +18. Close completed milestone https://github.com/haskell/time/milestones diff --git a/changelog.md b/changelog.md index 8a38d2f..d97aaa6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Change Log -## [1.12] - +## [1.12] - 2021-06-12 - support GHC 8.8, 8.10, 9.0 only - add patterns for each month of year - fix: don't provide TAI clock where it's unavailable (e.g. FreeBSD) diff --git a/fullcheck b/fullcheck index c9e0cbf..2c14188 100755 --- a/fullcheck +++ b/fullcheck @@ -2,8 +2,7 @@ git clean -dXf git pull autoreconf -i -# latest LTS resolver for each GHC x.y version -for c in ghc-8.8 ghc-8.10 ghc-9.0 +for c in ghc-8.8.4 ghc-8.10.5 ghc-9.0.1 do stack --compiler $c build done diff --git a/fullcheck.ps1 b/fullcheck.ps1 index 264138c..286be39 100644 --- a/fullcheck.ps1 +++ b/fullcheck.ps1 @@ -3,7 +3,7 @@ $ErrorActionPreference = "Stop" & "git" "pull" & "stack" "exec" "--" "env" "autoreconf" "-i" if (!$?) {Exit 1} -ForEach ($c in "ghc-8.8","ghc-8.10","ghc-9.0") +ForEach ($c in "ghc-8.8.4","ghc-8.10.5","ghc-9.0.1") { & "stack" "--compiler" "$c" "build" if (!$?) {Exit 1} diff --git a/stack.yaml b/stack.yaml index 4d378c5..2d2e7b7 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-17.9 +resolver: lts-17.15 packages: - '.' allow-newer: true diff --git a/stack.yaml.lock b/stack.yaml.lock index 4ec8f43..21e15d8 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -41,7 +41,7 @@ packages: hackage: fourmolu-0.3.0.0 snapshots: - completed: - size: 567037 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/17/9.yaml - sha256: d7d8d5106e53d1669964bd8bd2b0f88a5ad192d772f5376384b76738fd992311 - original: lts-17.9 + size: 567679 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/17/15.yaml + sha256: 72e87841a0ab5b72f6f018e8ee692fd972b7bb32a944990f028e10d6eb528e63 + original: lts-17.15 diff --git a/time.cabal b/time.cabal index 0e4e855..f2c4aa2 100644 --- a/time.cabal +++ b/time.cabal @@ -14,8 +14,8 @@ category: Time build-type: Configure tested-with: GHC == 8.8.4, - GHC == 8.10.2, - GHC == 9.0 + GHC == 8.10.5, + GHC == 9.0.1 x-follows-version-policy: extra-source-files: -- GitLab