1
0
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:
Ross McFarland
2023-09-29 13:01:39 -07:00
parent 3953f1dea5
commit e2ddfa6e48

View File

@ -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)