From c8ff3cbead2e424c43f9e5e7abc50b4949108c79 Mon Sep 17 00:00:00 2001 From: Philippe Llerena Date: Sat, 16 Dec 2023 18:29:32 +0100 Subject: [PATCH 1/3] ci: change conditions --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c3dd8e..60bebe8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,7 +49,7 @@ jobs: publish: runs-on: ubuntu-latest needs: [dry_publish] - if: "startsWith(github.ref, 'refs/tags/')" # only publish on tags + if: github.event_name == 'release' && github.event.action == 'created' steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 From b5c0713c78c7a6db6a789dcbf98e785c936c92b5 Mon Sep 17 00:00:00 2001 From: Philippe Llerena Date: Sat, 16 Dec 2023 18:34:24 +0100 Subject: [PATCH 2/3] ci: remove tags --- .github/workflows/rust.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 60bebe8..6fe1d87 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -5,8 +5,6 @@ on: branches: - main - master - tags: - - '*' pull_request: workflow_dispatch: release: From 40093a6bbf1717c760301b10e9467250f32afc3f Mon Sep 17 00:00:00 2001 From: Philippe Llerena Date: Sat, 16 Dec 2023 18:38:35 +0100 Subject: [PATCH 3/3] bump version --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/content/_index.md | 4 ++-- tests/cli.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3b6d577..fd3d178 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "framels" -version = "0.5.4" +version = "0.5.5" dependencies = [ "assert_cmd", "clap", diff --git a/Cargo.toml b/Cargo.toml index ac03f80..7d818c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "framels" -version = "0.5.4" +version = "0.5.5" edition = "2021" authors = ["Philippe Llerena"] description = "a simple command line tool to list frame sequence in friendly way" diff --git a/docs/content/_index.md b/docs/content/_index.md index d51f57d..b134add 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -7,9 +7,9 @@ title = "A simple but sexy ls command line tool" lead = 'framels is a command line tool and lib dedicated to animation and vfx, for terminal user or simply other rust projects.' url = "/docs/getting-started/introduction/" url_button = "Get started" -repo_version = "GitHub v0.5.4" +repo_version = "GitHub v0.5.5" repo_license = "Open-source MIT License." -repo_url = "https://github.com/forticheprod/fls/tree/0.5.4" +repo_url = "https://github.com/forticheprod/fls/tree/0.5.5" # Menu items [[extra.menu.main]] diff --git a/tests/cli.rs b/tests/cli.rs index d973934..09b1058 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -42,7 +42,7 @@ fn cli_version() -> Result<(), Box> { cmd.arg("-V"); cmd.assert() .success() - .stdout(predicate::str::contains("framels 0.5.4")); + .stdout(predicate::str::contains("framels 0.5.5")); Ok(()) }