fix?
parent
2acacbeb13
commit
92b3ab19de
|
@ -56,7 +56,8 @@ pipeline:
|
|||
- echo "building forgejo"
|
||||
- make CI=true LINUX_ARCHS=$${LINUX_ARCHS} release
|
||||
- pwd
|
||||
- ls -la .
|
||||
- ls -la dist
|
||||
- ls -la dist/*
|
||||
environment:
|
||||
TAGS: bindata sqlite sqlite_unlock_notify
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
|
|
@ -23,8 +23,8 @@ RUN test -n "$CI_COMMIT_SHA" || (echo "CI_COMMIT_SHA is required but not set" >&
|
|||
mkdir -p "${DR}"
|
||||
|
||||
# Copying the arch specific binaries to the path easily accessible in the next step and rename them to gitea
|
||||
COPY --chmod=755 /source/dist/binaries/forgejo-$TAG-linux-amd64 "${OUT}/linux/amd64/gitea"
|
||||
COPY --chmod=755 /source/dist/binaries/forgejo-$TAG-linux-arm64 "${OUT}/linux/arm64/gitea"
|
||||
COPY --chmod=755 /source/dist/release/forgejo-$TAG-linux-amd64 "${OUT}/linux/amd64/gitea"
|
||||
COPY --chmod=755 /source/dist/release/forgejo-$TAG-linux-arm64 "${OUT}/linux/arm64/gitea"
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
|
|
14
Makefile
14
Makefile
|
@ -794,13 +794,13 @@ release-compress: | $(DIST_DIRS)
|
|||
|
||||
.PHONY: release-sources
|
||||
release-sources: | $(DIST_DIRS)
|
||||
echo $(VERSION) > $(STORED_VERSION_FILE)
|
||||
# bsdtar needs a ^ to prevent matching subdirectories
|
||||
$(eval EXCL := --exclude=$(shell tar --help | grep -q bsdtar && echo "^")./)
|
||||
# use transform to a add a release-folder prefix; in bsdtar the transform parameter equivalent is -s
|
||||
$(eval TRANSFORM := $(shell tar --help | grep -q bsdtar && echo "-s '/^./forgejo-src-$(VERSION)/'" || echo "--transform 's|^./|forgejo-src-$(VERSION)/|'"))
|
||||
tar $(addprefix $(EXCL),$(TAR_EXCLUDES)) $(TRANSFORM) -czf $(DIST)/release/forgejo-src-$(VERSION).tar.gz .
|
||||
rm -f $(STORED_VERSION_FILE)
|
||||
# echo $(VERSION) > $(STORED_VERSION_FILE)
|
||||
## bsdtar needs a ^ to prevent matching subdirectories
|
||||
# $(eval EXCL := --exclude=$(shell tar --help | grep -q bsdtar && echo "^")./)
|
||||
## use transform to a add a release-folder prefix; in bsdtar the transform parameter equivalent is -s
|
||||
# $(eval TRANSFORM := $(shell tar --help | grep -q bsdtar && echo "-s '/^./forgejo-src-$(VERSION)/'" || echo "--transform 's|^./|forgejo-src-$(VERSION)/|'"))
|
||||
# tar $(addprefix $(EXCL),$(TAR_EXCLUDES)) $(TRANSFORM) -czf $(DIST)/release/forgejo-src-$(VERSION).tar.gz .
|
||||
# rm -f $(STORED_VERSION_FILE)
|
||||
|
||||
.PHONY: release-docs
|
||||
release-docs: | $(DIST_DIRS) docs
|
||||
|
|
Loading…
Reference in New Issue