mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-12 15:57:08 +07:00
chore: package real full src
This commit is contained in:
parent
0312afaf0d
commit
3e55f85d91
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -103,8 +103,9 @@ jobs:
|
|||||||
- name: Get project dependencies
|
- name: Get project dependencies
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
go mod download
|
GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
|
||||||
go mod vendor
|
find ./go-mod/ -maxdepth 1 ! -name "cache" ! -name "go-mod" -exec rm -rf {} \;
|
||||||
|
sed -i 's/#export GOMODCACHE=$(PWD)\/go-mod/export GOMODCACHE=$(PWD)\/go-mod/' Makefile
|
||||||
- name: Create full source ZIP archive and Signature
|
- name: Create full source ZIP archive and Signature
|
||||||
if: github.event_name == 'release' && matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
|
if: github.event_name == 'release' && matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
|
||||||
run: |
|
run: |
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,4 +5,5 @@
|
|||||||
bpf_bpfeb*.go
|
bpf_bpfeb*.go
|
||||||
bpf_bpfel*.go
|
bpf_bpfel*.go
|
||||||
dae
|
dae
|
||||||
outline.json
|
outline.json
|
||||||
|
go-mod/
|
||||||
|
2
Makefile
2
Makefile
@ -23,6 +23,8 @@ else
|
|||||||
STRIP_FLAG := -strip=$(STRIP_PATH)
|
STRIP_FLAG := -strip=$(STRIP_PATH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#export GOMODCACHE=$(PWD)/go-mod
|
||||||
|
|
||||||
# Get version from .git.
|
# Get version from .git.
|
||||||
date=$(shell git log -1 --format="%cd" --date=short | sed s/-//g)
|
date=$(shell git log -1 --format="%cd" --date=short | sed s/-//g)
|
||||||
count=$(shell git rev-list --count HEAD)
|
count=$(shell git rev-list --count HEAD)
|
||||||
|
Loading…
Reference in New Issue
Block a user