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

Fix auto-version for 1password-cli (op) #533

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions op.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// https://developer.1password.com/docs/cli/
// https://app-updates.agilebits.com/product_history/CLI2
// CLI Documentation: https://developer.1password.com/docs/cli/
// CLI Release History: https://app-updates.agilebits.com/product_history/CLI2
description = "1Password CLI allows you to automate administrative tasks, securely provision secrets across development environments, and use biometrics to authenticate in the terminal."
binaries = ["op"]
test = "op --version"
Expand Down Expand Up @@ -27,4 +27,13 @@ linux {
source = "https://cache.agilebits.com/dist/1P/op2/pkg/v${version}/op_linux_${arch}_v${version}.zip"
}

version "2.18.0" "2.19.0" {}
version "2.18.0" "2.19.0" "2.29.0" "2.30.0" "2.30.3" {
auto-version {
version-pattern = "\\d+\\.\\d+\\.\\d+"

html {
url = "https://app-updates.agilebits.com/product_history/CLI2"
xpath = "/html/body/main/article[*]/h3/text()"
}
}
}
Loading