1
0
Fork 0

Remove Semaphore CI

This commit is contained in:
Michael 2025-08-13 10:30:06 +02:00 committed by GitHub
parent c5d448fba9
commit fc5359b6f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 0 additions and 49 deletions

View file

@ -1,28 +0,0 @@
#!/usr/bin/env bash
set -e
if [ -n "${SEMAPHORE_GIT_TAG_NAME}" ]; then
echo "Releasing packages..."
else
echo "Skipping release"
exit 0
fi
rm -rf dist
for os in linux darwin windows freebsd openbsd; do
goreleaser release --skip=publish -p 2 --timeout="90m" --config "$(go run ./internal/release "$os")"
go clean -cache
done
cat dist/**/*_checksums.txt >> "dist/traefik_${VERSION}_checksums.txt"
rm dist/**/*_checksums.txt
tar cfz "dist/traefik-${VERSION}.src.tar.gz" \
--exclude-vcs \
--exclude .idea \
--exclude .travis \
--exclude .semaphoreci \
--exclude .github \
--exclude dist .
chown -R "$(id -u)":"$(id -g)" dist/