Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: change conditions #217

Merged
merged 3 commits into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:
release:
Expand Down Expand Up @@ -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
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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framels"
version = "0.5.4"
version = "0.5.5"
edition = "2021"
authors = ["Philippe Llerena<philippe.llerena@gmail.com>"]
description = "a simple command line tool to list frame sequence in friendly way"
Expand Down
4 changes: 2 additions & 2 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ title = "A simple but sexy ls command line tool"
lead = '<b>framels</b> 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]]
Expand Down
2 changes: 1 addition & 1 deletion tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn cli_version() -> Result<(), Box<dyn std::error::Error>> {
cmd.arg("-V");
cmd.assert()
.success()
.stdout(predicate::str::contains("framels 0.5.4"));
.stdout(predicate::str::contains("framels 0.5.5"));

Ok(())
}
Expand Down
Loading