Push to correct origin in publish recipe (#1044)

This commit is contained in:
Casey Rodarmor 2021-12-04 23:46:46 -08:00 committed by GitHub
parent 83edb16135
commit 4de93e19b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ publish:
VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1` VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1`
cd tmp/release cd tmp/release
git tag -a $VERSION -m "Release $VERSION" git tag -a $VERSION -m "Release $VERSION"
git push github $VERSION git push origin $VERSION
cargo publish cargo publish
cd ../.. cd ../..
rm -rf tmp/release rm -rf tmp/release