Files
golink/build.sh
T
Will Norris 2a38b842f7 cmd/golink: enable sqlite and data migration
Add flags to specify sqlite database and migration from files to sqlite.
Migration is only supported in one direction (and flag name makes that
clear). If both sqlite and linkdir flags are provided, sqlite is
preferred.  This has no change in behavior if neither of the new flags
are provided.

Change-Id: Ie13116ec3b80835b4389d228583e7a1476c00bfb
2022-06-16 09:20:09 -07:00

16 lines
303 B
Bash
Executable File

#!/bin/bash
set -e
set -x
export PATH="$PWD/../../tool":$PATH
go run github.com/tailscale/mkctr \
--target="flyio" \
--base="alpine:3.15" \
--gopaths="tailscale.io/cmd/golink:/tsgo" \
--tags="latest" \
--repos="registry.fly.io/tsgo" \
--push \
/tsgo -verbose -sqlitedb /root/golinks.db