Small gitea package registry CLI utility
Go to file
Emerald 8bcea2858d
Update containerfile
2023-10-19 16:13:23 -04:00
.woodpecker minimize runtime deps 2023-06-25 16:35:38 -04:00
spec init :) 2022-10-13 02:24:51 -04:00
src remove default command 2022-10-13 03:00:18 -04:00
.editorconfig init :) 2022-10-13 02:24:51 -04:00
.gitignore init :) 2022-10-13 02:24:51 -04:00
.tool-versions Update containerfile 2023-10-19 16:13:23 -04:00
Containerfile Update containerfile 2023-10-19 16:13:23 -04:00
LICENSE init :) 2022-10-13 02:24:51 -04:00
README.md Update containerfile 2023-10-19 16:13:23 -04:00
shard.lock init :) 2022-10-13 02:24:51 -04:00
shard.yml Update containerfile 2023-10-19 16:13:23 -04:00

README.md

teacup

A small CLI utility for uploading generic gitea packages

Installation

Prebuilt binary

There are prebuilt binaries available for Linux

curl -o teacup https://gitea.greenboi.me/api/packages/emerald/generic/teacup/0.3.0/teacup

Build from source

Install Crystal

Use whatever method suits your setup from the crystal-lang homepage

Clone the repo

git clone https://gitea.greenboi.me/emerald/teacup

Build the binary

shards build --release

or

crystal build --release src/teacup.cr

Move to a location in your PATH

sudo cp bin/teacup /usr/bin/teacup

Usage

Login first to save your credentials

teacup login -u <USERNAME> -p <PASSWORD OR TOKEN> -h <HOSTNAME OF GITEA SERVER> 

Upload a package by speciying the package name and version

teacup upload --package=your_app -v 0.1.0 your_app.bin

Contributors