mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
- abort docker scripts on error - generate version in system tests - build debian packages in docker - add make clean target - fix lint
7 lines
288 B
Bash
Executable File
7 lines
288 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
usermod -u `stat -c %u /app` aptly >/dev/null
|
|
chown -R `stat -c %u /app` /var/lib/aptly
|
|
|
|
su aptly -c "set -e; cd /app; export GOPATH=/app/.go; go install github.com/golangci/golangci-lint/cmd/golangci-lint@$GOLANGCI_LINT_VERSION; PATH=\$PATH:/app/.go/bin golangci-lint run"
|