Skip to content

Commit

Permalink
feat: rename the release name
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Dec 12, 2023
1 parent 6e8c7ef commit 2cc103f
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Steps to reproduce the behavior:
<!-- Please fill the following information. -->

- OS: [e.g. Ubuntu 20.04]
- proxy-rs version: [e.g. 0.1.0]
- proxy-x version: [e.g. 0.1.0]

## Additional context

Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<!--
Please, make sure:
- you have read the contributing guidelines:
https://github.com/pplmx/proxy-rs/blob/main/docs/CONTRIBUTING.md
https://github.com/pplmx/proxy-x/blob/main/docs/CONTRIBUTING.md
- you have formatted the code using rustfmt:
https://github.com/rust-lang/rustfmt
- you have checked that all tests pass, by running `cargo test --workspace`
- you have updated the changelog (if needed):
https://github.com/pplmx/proxy-rs/blob/main/CHANGELOG.md
https://github.com/pplmx/proxy-x/blob/main/CHANGELOG.md
-->
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
cd target/${{ matrix.job.target }}/release
####### reduce binary size by removing debug symbols #######
BINARY_NAME=proxy-rs${{ matrix.job.binary-postfix }}
BINARY_NAME=proxy-x${{ matrix.job.binary-postfix }}
if [[ ${{ matrix.job.target }} == aarch64-unknown-linux-gnu ]]; then
GCC_PREFIX="aarch64-linux-gnu-"
else
Expand All @@ -92,7 +92,7 @@ jobs:
"$GCC_PREFIX"strip $BINARY_NAME
########## create tar.gz ##########
RELEASE_NAME=proxy-rs-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }}
RELEASE_NAME=proxy-x-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }}
tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME
########## create sha256 ##########
Expand All @@ -105,8 +105,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
target/${{ matrix.job.target }}/release/proxy-rs-*.tar.gz
target/${{ matrix.job.target }}/release/proxy-rs-*.sha256
target/${{ matrix.job.target }}/release/proxy-x-*.tar.gz
target/${{ matrix.job.target }}/release/proxy-x-*.sha256
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Contribution guidelines

First off, thank you for considering contributing to proxy-rs.
First off, thank you for considering contributing to proxy-x.

If your contribution is not straightforward, please first discuss the change you
wish to make by creating a new issue before making the change.

## Reporting issues

Before reporting an issue on the
[issue tracker](https://github.com/pplmx/proxy-rs/issues),
[issue tracker](https://github.com/pplmx/proxy-x/issues),
please check that it has not already been reported by searching for some related
keywords.

Expand All @@ -19,7 +19,7 @@ Try to do one pull request per change.
### Updating the changelog

Update the changes you have made in
[CHANGELOG](https://github.com/pplmx/proxy-rs/blob/main/CHANGELOG.md)
[CHANGELOG](https://github.com/pplmx/proxy-x/blob/main/CHANGELOG.md)
file under the **Unreleased** section.

Add the changes of your pull request to one of the following subsections,
Expand All @@ -42,8 +42,8 @@ If the required subsection does not exist yet under **Unreleased**, create it!
This is no different than other Rust projects.

```shell
git clone https://github.com/pplmx/proxy-rs
cd proxy-rs
git clone https://github.com/pplmx/proxy-x
cd proxy-x
cargo test
```

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.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "proxy-rs"
name = "proxy-x"
version = "0.1.0"
edition = "2021"
description = "A simple proxy config tool."
authors = ["Mystic"]
repository = "https://github.com/pplmx/proxy-rs"
repository = "https://github.com/pplmx/proxy-x"
license = "MIT OR Apache-2.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# proxy-rs
# proxy-x

[![Crates.io](https://img.shields.io/crates/v/proxy-rs.svg)](https://crates.io/crates/proxy-rs)
[![Docs.rs](https://docs.rs/proxy-rs/badge.svg)](https://docs.rs/proxy-rs)
[![CI](https://github.com/pplmx/proxy-rs/workflows/CI/badge.svg)](https://github.com/pplmx/proxy-rs/actions)
[![Crates.io](https://img.shields.io/crates/v/proxy-x.svg)](https://crates.io/crates/proxy-x)
[![Docs.rs](https://docs.rs/proxy-x/badge.svg)](https://docs.rs/proxy-x)
[![CI](https://github.com/pplmx/proxy-x/workflows/CI/badge.svg)](https://github.com/pplmx/proxy-x/actions)

## Installation

### Cargo

* Install the rust toolchain in order to have cargo installed by following
[this](https://www.rust-lang.org/tools/install) guide.
* run `cargo install proxy-rs`
* run `cargo install proxy-x`

## License

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/root.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use clap::{crate_authors, crate_description, crate_version, Arg, ArgMatches, Command};

use proxy_rs::proxy_manager;
use proxy_x::proxy_manager;

pub fn execute() {
let matches = parser();
Expand Down

0 comments on commit 2cc103f

Please sign in to comment.