Skip to content

Commit

Permalink
doc: Add aging target
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Mar 21, 2024
1 parent 8e61be9 commit 4461dcc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .age.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ replace = """
## v{{new_version}} - {{now|date}} (JST)
"""

[[files]]
path = "doc/usage/installation.rst"
search = """
curl -L https://github.com/attakei/age-cli/releases/download/v{{current_version}}/age-v{{current_version}}_linux.zip | bsdtar x -
chmod +x age-v{{current_version}}/age
cp age-v{{current_version}}/age /path/to/bin/
"""
replace = """
curl -L https://github.com/attakei/age-cli/releases/download/v{{new_version}}/age-v{{new_version}}_linux.zip | bsdtar x -
chmod +x age-v{{new_version}}/age
cp age-v{{new_version}}/age /path/to/bin/
"""

0 comments on commit 4461dcc

Please sign in to comment.