From bf6bf422bc65562e8b73c50ea14ac89dbec27f60 Mon Sep 17 00:00:00 2001 From: Michael Laccetti Date: Sun, 21 Aug 2022 11:46:15 -0400 Subject: [PATCH 1/3] (cargo-release) version 0.1.2 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a3bee9d..abbdf7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -464,7 +464,7 @@ dependencies = [ [[package]] name = "echoip" -version = "0.1.1" +version = "0.1.2" dependencies = [ "actix-files", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index bc50d0f..5ca4d3e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "echoip" -version = "0.1.1" +version = "0.1.2" authors = ["Michael Laccetti "] edition = "2021" include = ["/Cargo.toml", "/src/**/*.rs", "/README.md", "/LICENSE"] From edf9a214003222600b761e768be8ac38be2dc8e0 Mon Sep 17 00:00:00 2001 From: Michael Laccetti Date: Sun, 21 Aug 2022 11:46:43 -0400 Subject: [PATCH 2/3] No tagging --- .github/workflows/echoip-increment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/echoip-increment.yml b/.github/workflows/echoip-increment.yml index 786779e..55faddc 100644 --- a/.github/workflows/echoip-increment.yml +++ b/.github/workflows/echoip-increment.yml @@ -16,5 +16,5 @@ jobs: - run: git config --global user.name 'Michael Laccetti' - run: git config --global user.email 'michael@laccetti.com' - run: cargo install cargo-release - - run: cargo release patch --execute --no-confirm --no-push + - run: cargo release patch --execute --no-confirm --no-push --no-tag - run: git push From b995c1dee7dddcfbd5dbc6579af55bdf884cca65 Mon Sep 17 00:00:00 2001 From: Michael Laccetti Date: Sun, 21 Aug 2022 11:52:03 -0400 Subject: [PATCH 3/3] We don't like that release thing --- .github/workflows/echoip-increment.yml | 20 -------------------- README.md | 10 +++++++--- 2 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/echoip-increment.yml diff --git a/.github/workflows/echoip-increment.yml b/.github/workflows/echoip-increment.yml deleted file mode 100644 index 55faddc..0000000 --- a/.github/workflows/echoip-increment.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Version Increment - -on: - push: - branches: - - main - -jobs: - version: - runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[RELEASE]')" - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - - run: git config --global user.name 'Michael Laccetti' - - run: git config --global user.email 'michael@laccetti.com' - - run: cargo install cargo-release - - run: cargo release patch --execute --no-confirm --no-push --no-tag - - run: git push diff --git a/README.md b/README.md index bda2bda..0b57c0f 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,13 @@ Rust version of mpolden's echoip ## Building ```bash -rustup target add x86_64-unknown-linux-gnu -brew install filosottile/musl-cross/musl-cross -make release +make docker +``` + +## Bumping version + +```bash +cargo release patch --execute --no-confirm --no-push --no-tag ``` ## Roadmap