mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
- use debian version consistently - if the commit is not on a git tag, append ci version - avoid double zipping - cleanup binary builds - replace `make release` with `make binaries` - add missing files to archives - use matrix build for deb packages - allow building release version - keep directory inside zip archives - accept releases only on master only tags on master will trigger a release - cleanup namings - keep path in zip - add retention period for pipeline artifacts
10 lines
196 B
Bash
Executable File
10 lines
196 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# cleanup
|
|
rm -rf /app/build/tmp
|
|
|
|
usermod -u `stat -c %u /app` aptly >/dev/null
|
|
chown -R `stat -c %u /app` /var/lib/aptly
|
|
|
|
su - aptly -c "cd /app; export GOPATH=/app/.go; make binaries"
|