Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.34 KB

Release.md

File metadata and controls

51 lines (36 loc) · 1.34 KB

How to release a new rules_appimage version

  1. Create a tag and push it

    git tag v1.16.0
    git push --tags
  2. Download the automatic .tar.gz for the tag and rename it with a rules_appimage- prefix. Note the missing v prefix.

    wget https://github.com/lalten/rules_appimage/archive/refs/tags/v1.16.0.tar.gz
    mv v1.16.0.tar.gz rules_appimage-1.16.0.tar.gz
  3. Create a release in the web UI: https://github.com/lalten/rules_appimage/releases/new?tag=v1.16.0

  4. Upload the .tar.gz

  5. "Generate release notes"

  6. Get the sha256 sum of the .tar.gz

    sha256sum rules_appimage-1.16.0.tar.gz
  7. Add and update the hash and version numbers this block:

MODULE.bazel setup

bazel_dep(name = "rules_appimage", version = "1.16.0")

WORKSPACE setup

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_appimage",
    sha256 = "16ca1bd74bf2b8e4dbec80a182e2c8d5f43e5931718d40414476374636342f81",
    strip_prefix = "rules_appimage-1.16.0",
    url = "https://github.com/lalten/rules_appimage/releases/download/v1.16.0/rules_appimage-1.16.0.tar.gz",
    patch_cmds = ["rm -r tests"],
)

load("@rules_appimage//:deps.bzl", "rules_appimage_deps")

rules_appimage_deps()

register_toolchains("@rules_appimage//appimage:all")