Skip to content

Commit

Permalink
refactor: Rename project
Browse files Browse the repository at this point in the history
- 'age' is already exiest on Crates and PyPI.
- This commit is to avoid name collision.
- Keep name of binary.
  • Loading branch information
attakei committed Mar 21, 2024
1 parent 49221b9 commit 7035193
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/*'
body: 'See https://github.com/attakei-lab/age/blob/main/CHANGELOG.md'
body: 'See https://github.com/attakei/age-cli/blob/main/CHANGELOG.md'
draft: false
name: Release ${{ github.ref_name }}
tag: ${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "age"
name = "age-cli"
version = "0.4.0"
edition = "2021"

[[bin]]
name = "age"
path = "src/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

age is my bumpversion tool (for training Rust programming).

![GitHub Tag](https://img.shields.io/github/v/tag/attakei-lab/age)
[![CI jobs](https://github.com/attakei-lab/age/actions/workflows/main.yml/badge.svg)](https://github.com/attakei-lab/age/actions/workflows/main.yml)
![GitHub Tag](https://img.shields.io/github/v/tag/attakei/age-cli)
[![CI jobs](https://github.com/attakei/age-cli/actions/workflows/main.yml/badge.svg)](https://github.com/attakei/age-cli/actions/workflows/main.yml)

## Overview

Expand All @@ -13,10 +13,10 @@ This is faster bump-version tools inspired by bumpversion and inherits.
## Installation

```
cargo install --git https://github.com/attakei-lab/age.git
cargo install --git https://github.com/attakei/age-cli.git
```

There are pre-build binaries on [GitHub releases](https://github.com/attakei-lab/age/releases).
There are pre-build binaries on [GitHub releases](https://github.com/attakei/age-cli/releases).
You can download and use it directly without Rust environment.

## Usage
Expand Down Expand Up @@ -63,7 +63,7 @@ List of replace target for update versioning.
Age uses template-engine to search and replace targets.
You can set context values into `files.search` and `files.replace`.

If you want to know example, please see [.age.toml](https://github.com/attakei-lab/age/blob/main/.age.toml).
If you want to know example, please see [.age.toml](https://github.com/attakei/age-cli/blob/main/.age.toml).

### Context values.

Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
html_title = "age -faster bumpversion alternation-"
html_short_title = "age"
html_theme_options = {
"source_url": "https://github.com/attakei-lab/age/",
"source_url": "https://github.com/attakei/age-cli/",
"source_icon": "github",
}

Expand Down
8 changes: 4 additions & 4 deletions doc/usage/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ You can download and use from GitHub Releases.

.. code:: console
curl -L https://github.com/attakei-lab/age/releases/download/v0.3.0/age-v0.3.0_linux.zip | bsdtar x -
chmod +x age-v0.3.0/age
cp age-v0.3.0/age /path/to/bin/
curl -L https://github.com/attakei/age-cli/releases/download/v0.4.0/age-v0.4.0_linux.zip | bsdtar x -
chmod +x age-v0.4.0/age
cp age-v0.4.0/age /path/to/bin/
Using Cargo
-----------
Expand All @@ -33,7 +33,7 @@ This is suitable for:

.. code:: console
cargo install --git https://github.com/attakei-lab/age
cargo install --git https://github.com/attakei/age-cli
After install
=============
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "age"
name = "age-cli"
version = "0.4.0"
description = "This is virtual project for testing and documentation."
authors = [
Expand Down

0 comments on commit 7035193

Please sign in to comment.