Prep for auto releases

This commit is contained in:
Matteo Paonessa 2024-05-18 14:18:58 +02:00
parent 3c2eb56f30
commit bf43bb15ad
5 changed files with 25 additions and 25 deletions

View File

@ -8,13 +8,13 @@ name: Build Release
on:
push:
# branches:
# - 'main'
# branches:
# - 'main'
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
repository_dispatch:
types: [webhook]
types: [ webhook ]
permissions:
contents: write
@ -110,18 +110,18 @@ jobs:
|Linux x86_64| caesiumclt-v*-x86_64-unknown-linux-musl.tar.gz|\n
|Windows x86_64| caesiumclt-v*-x86_64-pc-windows-msvc.zip|\n"
# - name: Upload Artifact 🚀
# uses: actions/upload-artifact@v3
# with:
# name: ${{ env.ASSET }}
# path: ${{ env.ASSET }}
- name: Upload Artifact 🚀
uses: actions/upload-artifact@v3
with:
name: ${{ env.ASSET }}
path: ${{ env.ASSET }}
# - name: Upload binaries to release ☕
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: ${{ env.ASSET }}
# asset_name: ${{ env.ASSET }}
# tag: ${{ github.ref }}
# overwrite: true
# body: "test\ntest"
- name: Upload binaries to release ☕
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.ASSET }}
asset_name: ${{ env.ASSET }}
tag: ${{ github.ref }}
overwrite: true
body: "Generated by Github Actions"

2
Cargo.lock generated
View File

@ -145,7 +145,7 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
[[package]]
name = "caesiumclt"
version = "0.20.0"
version = "0.19.2"
dependencies = [
"human_bytes",
"indicatif",

View File

@ -1,6 +1,6 @@
[package]
name = "caesiumclt"
version = "0.20.0"
version = "0.19.2"
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
edition = "2021"

View File

@ -1,14 +1,14 @@
## Caesium CommandLineTools
###### caesium-clt - v0.19.1
###### caesium-clt - v0.19.2
###### REQUIREMENTS
* [Rust](https://www.rust-lang.org/tools/install)
----------
###### TESTED PLATFORMS
* macOS Ventura (v13.0)
* macOS Sonoma (v14)
* Ubuntu 22.04
* Windows 10
* Windows 11
----------

View File

@ -1,14 +1,14 @@
## Caesium 命令行工具
###### caesium-clt - v0.19.0
###### caesium-clt - v0.19.2
###### 依赖
* [Rust](https://www.rust-lang.org/tools/install)
----------
###### 已通过测试的平台
* macOS Ventura (v13.0)
* macOS Sonoma (v14)
* Ubuntu 22.04
* Windows 10
* Windows 11
----------