diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c3dd8e..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: @@ -49,7 +47,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 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(()) }