Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5618cb5efc | |||
| 302009cf59 | |||
| 1face8eea8 | |||
| 48078e5bd3 | |||
| 21e674ffb0 | |||
| 694ae9cc71 |
25
.github/workflows/goreleaser.yaml
vendored
Normal file
25
.github/workflows/goreleaser.yaml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Set up mise
|
||||||
|
uses: jdx/mise-action@v4
|
||||||
|
- name: Run GoReleaser
|
||||||
|
uses: goreleaser/goreleaser-action@v6
|
||||||
|
with:
|
||||||
|
distribution: goreleaser
|
||||||
|
version: "~> v2"
|
||||||
|
args: "release --clean"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -4,5 +4,12 @@ before:
|
|||||||
- cargo install --locked cargo-zigbuild
|
- cargo install --locked cargo-zigbuild
|
||||||
builds:
|
builds:
|
||||||
- builder: rust
|
- builder: rust
|
||||||
|
targets:
|
||||||
|
- x86_64-unknown-linux-gnu
|
||||||
|
- aarch64-unknown-linux-gnu
|
||||||
archives:
|
archives:
|
||||||
- formats: ["binary"]
|
- formats: ["binary"]
|
||||||
|
|
||||||
|
gitea_urls:
|
||||||
|
api: https://git.shee.sh/api/v1
|
||||||
|
download: https://git.shee.sh
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -413,7 +413,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "zfsbackup"
|
name = "zfsbackup"
|
||||||
version = "0.1.2"
|
version = "0.2.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "zfsbackup"
|
name = "zfsbackup"
|
||||||
version = "0.1.2"
|
version = "0.2.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user