forgejo/tudbut-rebuild.sh

6 lines
307 B
Bash
Raw Normal View History

2024-07-06 02:49:55 +02:00
#!/bin/bash
# this is supposed to be run on a server with forgejo of some kind already installed.
FORGEJO_VERSION="tudbut-$(git log --oneline | head -n1 | sed -E 's/(\w+) (.*)/\1/g')" TAGS="bindata timetzdata sqlite sqlite_unlock_notify" make build || exit 1
sudo cp gitea /usr/local/bin/forgejo || exit 1