Drop tarball release (#1819)

close #1262
This commit is contained in:
6543 2023-06-04 05:09:10 +02:00 committed by GitHub
parent d1213afdc8
commit 79c8da2f32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 33 deletions

View file

@ -67,14 +67,6 @@ pipeline:
when:
path: *when_path
build-tarball:
group: bundle
image: *golang_image
commands:
- make release-tarball
when:
path: *when_path
checksums:
image: *golang_image
commands:

View file

@ -238,31 +238,6 @@ release-cli: ## Create cli binaries for release
tar -cvzf dist/woodpecker-cli_darwin_amd64.tar.gz -C dist/cli/darwin_amd64 woodpecker-cli
tar -cvzf dist/woodpecker-cli_darwin_arm64.tar.gz -C dist/cli/darwin_arm64 woodpecker-cli
release-tarball: ## Create tarball for release
mkdir -p dist/
tar -cvzf dist/woodpecker-src-$(BUILD_VERSION).tar.gz \
agent \
cli \
cmd \
go.??? \
LICENSE \
Makefile \
pipeline \
server \
shared \
vendor \
version \
woodpecker-go \
web/index.html \
web/node_modules \
web/package.json \
web/public \
web/src \
web/tsconfig.* \
web/*.ts \
web/pnpm-lock.yaml \
web/web.go
release-checksums: ## Create checksums for all release files
# generate shas for tar files
(cd dist/; sha256sum *.* > checksums.txt)