Compare commits
2 Commits
0.2.4
...
9ffa2e473e
Author | SHA1 | Date | |
---|---|---|---|
9ffa2e473e | |||
9fd60b6bf7 |
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -2,8 +2,9 @@ name: goreleaser
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ] # your default branch if different
|
# run only against tags
|
||||||
paths: [ CHANGELOG.md ] # your changelog file if different
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -24,12 +25,17 @@ jobs:
|
|||||||
cache: true
|
cache: true
|
||||||
# More assembly might be required: Docker logins, GPG, etc. It all depends
|
# More assembly might be required: Docker logins, GPG, etc. It all depends
|
||||||
# on your needs.
|
# on your needs.
|
||||||
|
- name: Get tag
|
||||||
|
id: tag
|
||||||
|
uses: dawidd6/action-get-tag@v1
|
||||||
|
with:
|
||||||
|
# Optionally strip `v` prefix
|
||||||
|
strip_v: true
|
||||||
- uses: goreleaser/goreleaser-action@v4
|
- uses: goreleaser/goreleaser-action@v4
|
||||||
with:
|
with:
|
||||||
# either 'goreleaser' (default) or 'goreleaser-pro':
|
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --release-notes=".changes/$(go run backy.go version).md" -f .goreleaser/github.yml --clean
|
args: release --release-notes=".changes/${{steps.tag.outputs.tag}}.md" -f .goreleaser/github.yml --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
|
||||||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
|
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
|
||||||
|
31
README.md
31
README.md
@ -1,16 +1,11 @@
|
|||||||
|
|
||||||
# Backy - an application to manage backups
|
# Backy - an application to manage backups
|
||||||
|
|
||||||
This app is in development, and is currently not stable. Expect core functionality to possiblly break.
|
See the [install documentation](https://backy.cybershell.xyz/getting-started/install/index.html)
|
||||||
|
|
||||||
## Installing
|
## Security
|
||||||
|
|
||||||
To install:
|
The latest version is currently the only supported version.
|
||||||
|
|
||||||
`go install git.andrewnw.xyz/CyberShell/backy@master`
|
|
||||||
|
|
||||||
This assumes you already have a working Go environment, if not please see [this page](https://golang.org/doc/install) first.
|
|
||||||
|
|
||||||
You can also download binaries [here](https://git.andrewnw.xyz/CyberShell/backy/releases) and [here](https://github.com/CybersShell/backy/releases).
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@ -25,21 +20,3 @@ You can also download binaries [here](https://git.andrewnw.xyz/CyberShell/backy/
|
|||||||
- Run in cron mode
|
- Run in cron mode
|
||||||
|
|
||||||
- For any command, especially backup commands
|
- For any command, especially backup commands
|
||||||
|
|
||||||
To run a config:
|
|
||||||
|
|
||||||
`backy backup`
|
|
||||||
|
|
||||||
Or to use a specific file:
|
|
||||||
```backy backup -f /path/to/file```
|
|
||||||
|
|
||||||
If you leave the config path blank, the following paths will be searched in order:
|
|
||||||
|
|
||||||
- `./backy.yml`
|
|
||||||
- `./backy.yaml`
|
|
||||||
- `~/.config/backy.yml`
|
|
||||||
- `~/.config/backy.yaml`
|
|
||||||
|
|
||||||
Create a file at `~/.config/backy.yml`.
|
|
||||||
|
|
||||||
See the config file in the examples directory to configure it.
|
|
||||||
|
Reference in New Issue
Block a user