Skip to content
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: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ updates:
github-actions:
patterns:
- "*"
ignore:
# The ref is a Rust toolchain version, not an action version. Dependabot
# otherwise "bumps" it to a nonexistent tag (e.g. 1.99.0 -> 1.120.0).
- dependency-name: "dtolnay/rust-toolchain"
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,16 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: gsbt.schema.json

publish:
name: Publish to crates.io
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.99.0
- name: Publish crate
run: cargo publish --locked
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
17 changes: 16 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,24 @@ edition = "2021"
rust-version = "1.85"
description = "Gameserver Backup Tool - back up game server files via FTP, SFTP, and Nitrado"
license = "MIT"
repository = "https://github.com/devtheops/gameserver-backup-tool"
repository = "https://github.com/DEVtheOPS/gsbt"
readme = "README.md"
default-run = "gsbt"
keywords = ["backup", "gameserver", "ftp", "sftp", "cli"]
categories = ["command-line-utilities", "filesystem"]
exclude = [
"/.github",
"/docs",
"/.opencode",
"/Taskfile.yml",
"/.tool-versions",
"/rust-toolchain.toml",
"/AGENTS.md",
"/CLAUDE.md",
"/CONTRIBUTING.md",
"/SECURITY.md",
"/.editorconfig",
]

[lib]
name = "gsbt"
Expand Down
Loading