Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to version #18

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Update to version #18

merged 1 commit into from
Jan 25, 2025

Conversation

github-actions[bot]
Copy link

Base PullRequest

default branch (https://github.com/kanidm/homebrew-kanidm/tree/main)

Command results

Details:
add path
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/build/src/bin
bash homebrew_check_latest_release.sh
SPECFILE: /home/runner/work/homebrew-kanidm/homebrew-kanidm/kanidm.rb
Latest version v1.4.6
Version going from 'https://github.com/kanidm/kanidm/archive/refs/tags/#{version}.tar.gz' to 'v1.4.6'
Grabbing download URL
Download URL: https://github.com/kanidm/kanidm/archive/refs/tags/v1.4.6.tar.gz
Grabbing filehash
Hash: 6f53f41075c3090e5100936d9229c301fa5d7cb2ed3a224ebae881fdb873e9df
Updating file: /home/runner/work/homebrew-kanidm/homebrew-kanidm/kanidm.rb
Changed, woo!
New script below
#####################################################
class Kanidm < Formula
  desc "Kanidm CLI"
  version "v1.4.6"
  homepage "https://api.github.com/kanidm/kanidm/releases/latest"
  url "https://github.com/kanidm/kanidm/archive/refs/tags/#{version}.tar.gz"
  sha256 "6f53f41075c3090e5100936d9229c301fa5d7cb2ed3a224ebae881fdb873e9df"
  license "Mozilla Public License 2.0"
  head "https://github.com/kanidm/kanidm.git", branch: "master"

  livecheck do
    url :stable
    strategy :github_latest
  end


  depends_on "rust" => :build

  def install
    system "cargo", "install", "--bin", "kanidm", "--path", "tools/cli", "--locked", "--root", *prefix

    # Completion scripts and manpage are generated in the crate's build
    # directory, which includes a fingerprint hash. Try to locate it first
    out_dir = Dir["target/release/build/kanidm-*/out"].first
  end

  test do
    system "#{bin}/kanidm", "--version"
  end
end
#####################################################

Changed files

Changed file:
  • kanidm.rb

:octocat: Repo | 📝 Issues | 🏬 Marketplace

@github-actions github-actions bot requested a review from yaleman as a code owner January 24, 2025 05:20
@yaleman yaleman merged commit 7e346bb into main Jan 25, 2025
@yaleman yaleman deleted the create-pr-action/brew-update-main branch January 25, 2025 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant