From 6006c9d0e8485bf408987ccc6a85cedf5e059569 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Mon, 25 Nov 2024 19:58:34 -0700 Subject: [PATCH] fix(ci): Ensure the Release Crate job fetches the most recent commit before publishing the crate [skip ci] --- .github/workflows/release.yml | 6 ++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a2a9dd..3e5fcf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -120,8 +120,14 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + + - name: Ensure repository is up-to-date + run: | + git fetch --all + - name: Install Rust stable uses: dtolnay/rust-toolchain@stable + - uses: katyo/publish-crates@v2 with: registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index 3756095..4291ecb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1303,7 +1303,7 @@ dependencies = [ [[package]] name = "managarr" -version = "0.3.4" +version = "0.3.5" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index b409923..129925a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "managarr" -version = "0.3.4" +version = "0.3.5" authors = ["Alex Clarke "] description = "A TUI and CLI to manage your Servarrs" keywords = ["managarr", "ratatui", "dashboard", "servarr", "tui"]