Fix version.py location inside raw source archive
Note that this fix only matters for maintainers using build-helper script. Source archive is generated during release process and uploaded to github, along its signature. For 4.10.11 those files were fixed and uploaded manually after build-helper script process has been finished. In future releases this process will be automatic - no need for manual step that was necessary for 4.10.11.
This commit is contained in:
parent
b37b25f573
commit
51e650423e
2 changed files with 8 additions and 2 deletions
|
@ -200,7 +200,10 @@ eof
|
||||||
|| exit 1
|
|| exit 1
|
||||||
# make sure target version is generated
|
# make sure target version is generated
|
||||||
"$0" target-version
|
"$0" target-version
|
||||||
tar -r -f "${archivename}" cdist/version.py || exit 1
|
tar -x -f "${archivename}" || exit 1
|
||||||
|
cp cdist/version.py "cdist-${tag}/cdist/version.py" || exit 1
|
||||||
|
tar -c -f "${archivename}" "cdist-${tag}/" || exit 1
|
||||||
|
rm -r -f "cdist-${tag}/"
|
||||||
gzip "${archivename}" || exit 1
|
gzip "${archivename}" || exit 1
|
||||||
archivename="${archivename}.gz"
|
archivename="${archivename}.gz"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -235,7 +235,10 @@ eof
|
||||||
|| exit 1
|
|| exit 1
|
||||||
# make sure target version is generated
|
# make sure target version is generated
|
||||||
"$0" target-version
|
"$0" target-version
|
||||||
tar -r -f "${archivename}" cdist/version.py || exit 1
|
tar -x -f "${archivename}" || exit 1
|
||||||
|
cp cdist/version.py "cdist-${tag}/cdist/version.py" || exit 1
|
||||||
|
tar -c -f "${archivename}" "cdist-${tag}/" || exit 1
|
||||||
|
rm -r -f "cdist-${tag}/"
|
||||||
gzip "${archivename}" || exit 1
|
gzip "${archivename}" || exit 1
|
||||||
archivename="${archivename}.gz"
|
archivename="${archivename}.gz"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue