From e776a02202625760882637493d1482deef149167 Mon Sep 17 00:00:00 2001 From: Joxit Date: Mon, 16 Oct 2023 07:39:13 +0200 Subject: [PATCH] build: release 1.0.0 --- .github/workflows/release.yml | 6 +++--- Cargo.toml | 2 +- README.md | 38 +++++++++++++++++++++++++++++++++-- 3 files changed, 40 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24d04ef..190efb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,8 +42,8 @@ jobs: body_path: RELEASE_NOTE.md draft: false prerelease: false - - name: Upload Release Asset - id: upload-release-asset + - name: Upload Release Binary + id: upload-release-binary uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -53,7 +53,7 @@ jobs: asset_content_type: application/octet-stream asset_name: runtasktic-linux-x86_64 - name: Upload SHA256 Asset - id: upload-release-asset + id: upload-release-sha256 uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 764c60d..66d4cac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtasktic" -version = "0.6.0" +version = "1.0.0" authors = ["Jones Magloire @Joxit"] description = "Command-line task management tool for execution of regular long sequential or parallel tasks." edition = "2018" diff --git a/README.md b/README.md index c659fa3..f0dab9e 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,28 @@ Describe your tasks in a YAML file, execute all of them with runtasktic in foreg - when you need an alternative to nohup - when you need an alternative to crontab +## How to install runtasktic ? + +You can install runtasktic via command line or by downloading the prebuild version on github. + +```bash +mkdir ~/bin +curl -sSL https://github.com/Joxit/runtasktic/releases/download/$(curl -sSL https://api.github.com/repos/Joxit/runtasktic/releases/latest | jq -r '.tag_name')/runtasktic-linux-x86_64 > ~/bin/runtasktic +chmod +x ~/bin/runtasktic +``` + +If you are a rust user, you can use cargo to install runtasktic. + +```bash +cargo install runtasktic +``` + +If you already installed runtasktic, you can updated it with commandline + +```bash +runtasktic update +``` + ## CLI ``` @@ -25,10 +47,11 @@ Command-line task management tool for execution of regular long sequential or pa Usage: runtasktic Commands: - run Run tasks + run Run all tasks from your configuration in background or foreground dot Export the configuration to a graph (needs graphviz/dot) - exec Execute a single command with notification + exec Execute a single command with notification in background or foreground completion Generate completion script for your shell + update Self update of the binary help Print this message or the help of the given subcommand(s) Options: @@ -130,6 +153,17 @@ Options: -h, --help Print help ``` +### Update: Update the binary + +``` +Self update of the binary + +Usage: runtasktic update + +Options: + -h, --help Print help +``` + ## Configuration ```yaml