Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
31 changes: 31 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: release-please

on: # yamllint disable-line rule:truthy
push:
branches: [main]

permissions:
contents: write
pull-requests: write

jobs:
release-please:
name: Open/update the release PR
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v7
with:
fetch-tags: true
-
# Unlike rubyists/linear-cli's own release-please setup, this tap
# has no build-binaries-first step to race against GitHub's
# Immutable Releases - a formula bump is just text, so
# release-please can tag/release normally, no skip-github-release
# + custom atomic-tagging job needed.
uses: googleapis/release-please-action@v5
with:
config-file: .release-please-config.json
manifest-file: .release-please-manifest.json
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
10 changes: 10 additions & 0 deletions .release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"packages": {
"Formula/linear-cli": {
"release-type": "simple",
"version-file": ".version",
"changelog-path": "CHANGELOG.md"
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Formula/linear-cli": "0.1.0"
}
1 change: 1 addition & 0 deletions Formula/linear-cli/.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
1 change: 1 addition & 0 deletions Formula/linear-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changelog
2 changes: 1 addition & 1 deletion Formula/lc.rb → Formula/linear-cli/linear-cli.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Lc < Formula
class LinearCli < Formula
desc "CLI for interacting with Linear.app"
homepage "https://github.com/rubyists/linear-cli"
license "WTFPL"
Expand Down
9 changes: 5 additions & 4 deletions Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Homebrew tap for rubyists CLI tools.
[source,sh]
----
$ brew tap rubyists/tap
$ brew install lc
$ brew install linear-cli
----

`lc` is the https://github.com/rubyists/linear-cli[linear-cli] CLI for
https://linear.app[Linear.app], covering macOS (Apple Silicon) and Linux
(x86_64).
`linear-cli` installs `lc` (plus the `lcreate`/`lcls`/`lclose`/`lcomment`/
`lproj` wrapper scripts) - the https://github.com/rubyists/linear-cli[linear-cli]
CLI for https://linear.app[Linear.app], covering macOS (Apple Silicon) and
Linux (x86_64).