mirror of
https://github.com/curl/curl.git
synced 2026-07-28 11:53:05 +03:00
dist: fix reproducible build from release tarball
Make it possible to rebuild an identical copy from a release tarball. It was previously only possible from a checked out git repository. - add release-tools.sh to dist - keep Makefile.dist around to include it in dist - regenerate tool_huge.c with the new version in dist - fix the dist CI job to not do make clean like before Closes #14336
This commit is contained in:
parent
c73b80a3cd
commit
754acd1a9d
5 changed files with 26 additions and 17 deletions
6
.github/workflows/distcheck.yml
vendored
6
.github/workflows/distcheck.yml
vendored
|
|
@ -35,8 +35,8 @@ jobs:
|
|||
- run: ./configure --without-ssl --without-libpsl
|
||||
name: 'configure'
|
||||
|
||||
- run: make V=1 && make V=1 clean
|
||||
name: 'make and clean'
|
||||
- run: make V=1
|
||||
name: 'make'
|
||||
|
||||
- name: 'maketgz'
|
||||
run: |
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: 'maketgz reproducibility test'
|
||||
run: |
|
||||
mkdir run1; mv ./curl-99.98.97.* run1/
|
||||
make V=1 && make V=1 clean
|
||||
make V=1 clean && make V=1
|
||||
SOURCE_DATE_EPOCH=1711526400 ./maketgz 99.98.97
|
||||
mkdir run2; cp -p ./curl-99.98.97.* run2/
|
||||
diff run1 run2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue