mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Version from var, not copy-n-paste
This commit is contained in:
@ -39,7 +39,7 @@ git push origin "v$VERSION"
|
||||
echo "Tagged and pushed v$VERSION"
|
||||
|
||||
TMP_DIR=$(mktemp -d -t ci-XXXXXXXXXX)
|
||||
git archive --format tar v1.2.0 | tar xv -C $TMP_DIR
|
||||
git archive --format tar "v$VERSION" | tar xv -C $TMP_DIR
|
||||
echo "Created clean room $TMP_DIR and archived $VERSION into it"
|
||||
|
||||
(cd "$TMP_DIR" && python -m build --sdist --wheel)
|
||||
|
Reference in New Issue
Block a user