From c65889294dbee9f8c6af10e6c18d7ff34d021d86 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Wed, 18 Oct 2023 12:22:20 +0200 Subject: [PATCH] Release rules_haskell version 0.17 - update module version to 0.17 and rename modules in local registry - remove sha256 hash in `start` script and `docs/haskell-use-cases`. --- MODULE.bazel | 2 +- docs/haskell-use-cases.rst | 5 ++--- examples/MODULE.bazel | 6 +++--- registry/modules/rules_haskell/{0.16 => 0.17}/MODULE.bazel | 0 registry/modules/rules_haskell/{0.16 => 0.17}/source.json | 0 registry/modules/rules_haskell/metadata.json | 2 +- .../modules/rules_haskell_nix/{0.16 => 0.17}/MODULE.bazel | 0 .../modules/rules_haskell_nix/{0.16 => 0.17}/source.json | 0 registry/modules/rules_haskell_nix/metadata.json | 2 +- rules_haskell_nix/MODULE.bazel | 4 ++-- rules_haskell_tests/MODULE.bazel | 6 +++--- .../tests/bzlmod_runfiles/other_module/MODULE.bazel | 4 ++-- start | 5 ++--- tutorial/MODULE.bazel | 4 ++-- 14 files changed, 19 insertions(+), 21 deletions(-) rename registry/modules/rules_haskell/{0.16 => 0.17}/MODULE.bazel (100%) rename registry/modules/rules_haskell/{0.16 => 0.17}/source.json (100%) rename registry/modules/rules_haskell_nix/{0.16 => 0.17}/MODULE.bazel (100%) rename registry/modules/rules_haskell_nix/{0.16 => 0.17}/source.json (100%) diff --git a/MODULE.bazel b/MODULE.bazel index 4e5d14578..f366ecc3e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "rules_haskell", - version = "0.16", + version = "0.17", ) bazel_dep( diff --git a/docs/haskell-use-cases.rst b/docs/haskell-use-cases.rst index 9e2666ba1..12f504189 100644 --- a/docs/haskell-use-cases.rst +++ b/docs/haskell-use-cases.rst @@ -28,9 +28,8 @@ rules_haskell. To use a released version, do the following:: http_archive( name = "rules_haskell", - sha256 = "f7a228ef21c7976e42f0949b927f40d3381305d65e19585625eb6ce2c59116e9", - strip_prefix = "rules_haskell-0.16", - url = "https://github.com/tweag/rules_haskell/archive/refs/tags/v0.16.tar.gz", + strip_prefix = "rules_haskell-0.17", + url = "https://github.com/tweag/rules_haskell/archive/refs/tags/v0.17.tar.gz", ) Picking a compiler diff --git a/examples/MODULE.bazel b/examples/MODULE.bazel index 4a8eb0300..1b43c875d 100644 --- a/examples/MODULE.bazel +++ b/examples/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "rules_haskell_examples", - version = "0.16", + version = "0.17", ) bazel_dep( @@ -9,11 +9,11 @@ bazel_dep( ) bazel_dep( name = "rules_haskell_nix", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_haskell", - version = "0.16", + version = "0.17", ) # TODO diff --git a/registry/modules/rules_haskell/0.16/MODULE.bazel b/registry/modules/rules_haskell/0.17/MODULE.bazel similarity index 100% rename from registry/modules/rules_haskell/0.16/MODULE.bazel rename to registry/modules/rules_haskell/0.17/MODULE.bazel diff --git a/registry/modules/rules_haskell/0.16/source.json b/registry/modules/rules_haskell/0.17/source.json similarity index 100% rename from registry/modules/rules_haskell/0.16/source.json rename to registry/modules/rules_haskell/0.17/source.json diff --git a/registry/modules/rules_haskell/metadata.json b/registry/modules/rules_haskell/metadata.json index 7c9cbe95a..07e91097d 100644 --- a/registry/modules/rules_haskell/metadata.json +++ b/registry/modules/rules_haskell/metadata.json @@ -1,6 +1,6 @@ { "homepage": "", "maintainers": [], - "versions": ["0.16"], + "versions": ["0.17"], "yanked_versions": [] } diff --git a/registry/modules/rules_haskell_nix/0.16/MODULE.bazel b/registry/modules/rules_haskell_nix/0.17/MODULE.bazel similarity index 100% rename from registry/modules/rules_haskell_nix/0.16/MODULE.bazel rename to registry/modules/rules_haskell_nix/0.17/MODULE.bazel diff --git a/registry/modules/rules_haskell_nix/0.16/source.json b/registry/modules/rules_haskell_nix/0.17/source.json similarity index 100% rename from registry/modules/rules_haskell_nix/0.16/source.json rename to registry/modules/rules_haskell_nix/0.17/source.json diff --git a/registry/modules/rules_haskell_nix/metadata.json b/registry/modules/rules_haskell_nix/metadata.json index 7c9cbe95a..07e91097d 100644 --- a/registry/modules/rules_haskell_nix/metadata.json +++ b/registry/modules/rules_haskell_nix/metadata.json @@ -1,6 +1,6 @@ { "homepage": "", "maintainers": [], - "versions": ["0.16"], + "versions": ["0.17"], "yanked_versions": [] } diff --git a/rules_haskell_nix/MODULE.bazel b/rules_haskell_nix/MODULE.bazel index c8cd4545b..04a071dd6 100644 --- a/rules_haskell_nix/MODULE.bazel +++ b/rules_haskell_nix/MODULE.bazel @@ -1,11 +1,11 @@ module( name = "rules_haskell_nix", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_haskell", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_sh", diff --git a/rules_haskell_tests/MODULE.bazel b/rules_haskell_tests/MODULE.bazel index a9c773196..779dcbe5b 100644 --- a/rules_haskell_tests/MODULE.bazel +++ b/rules_haskell_tests/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "rules_haskell_tests", - version = "0.16", + version = "0.17", ) bazel_dep( @@ -9,11 +9,11 @@ bazel_dep( ) bazel_dep( name = "rules_haskell_nix", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_haskell", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_license", diff --git a/rules_haskell_tests/tests/bzlmod_runfiles/other_module/MODULE.bazel b/rules_haskell_tests/tests/bzlmod_runfiles/other_module/MODULE.bazel index d69aea0da..240dd7f71 100644 --- a/rules_haskell_tests/tests/bzlmod_runfiles/other_module/MODULE.bazel +++ b/rules_haskell_tests/tests/bzlmod_runfiles/other_module/MODULE.bazel @@ -5,11 +5,11 @@ module( bazel_dep( name = "rules_haskell_nix", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_haskell", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_nixpkgs_core", diff --git a/start b/start index 371ac8b79..9434127e6 100755 --- a/start +++ b/start @@ -225,9 +225,8 @@ load( # Download rules_haskell and make it accessible as "@rules_haskell". http_archive( name = "rules_haskell", - sha256 = "2a07b55c30e526c07138c717b0343a07649e27008a873f2508ffab3074f3d4f3", - strip_prefix = "rules_haskell-0.16", - url = "https://github.com/tweag/rules_haskell/archive/refs/tags/v0.16.tar.gz", + strip_prefix = "rules_haskell-0.17", + url = "https://github.com/tweag/rules_haskell/archive/refs/tags/v0.17.tar.gz", ) load( diff --git a/tutorial/MODULE.bazel b/tutorial/MODULE.bazel index 1590a8849..3797c8653 100644 --- a/tutorial/MODULE.bazel +++ b/tutorial/MODULE.bazel @@ -7,11 +7,11 @@ bazel_dep( # toolchains are considered first bazel_dep( name = "rules_haskell_nix", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_haskell", - version = "0.16", + version = "0.17", ) bazel_dep( name = "rules_nixpkgs_core",