Skip to content

Commit

Permalink
Drop tarball release (#1819)
Browse files Browse the repository at this point in the history
close #1262
  • Loading branch information
6543 committed Jun 4, 2023
1 parent d1213af commit 79c8da2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
8 changes: 0 additions & 8 deletions .woodpecker/binaries.yml
Expand Up @@ -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:
Expand Down
25 changes: 0 additions & 25 deletions Makefile
Expand Up @@ -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)
Expand Down

0 comments on commit 79c8da2

Please sign in to comment.