diff --git a/create_release.sh b/create_release.sh index d7572b7..135ce0f 100755 --- a/create_release.sh +++ b/create_release.sh @@ -21,15 +21,16 @@ git add Cargo.toml git add Cargo.lock git add PKGBUILD # tag the commit with current version -git tag $VERSION # create changelog +git tag $VERSION +git commit -m "Release version $VERSION" +git push --tags +git push kokai release --ref $VERSION > tmp cat CHANGELOG.md >> tmp mv tmp CHANGELOG.md git add CHANGELOG.md -git commit -m "Release version $VERSION" -# git commit -m "Update changelog for $VERSION" -git push --tags +git commit -m "Update changelog for $VERSION" git push # this needs no-verify as we modify the plist during the build, and cargo does not accept that. cargo publish --no-verify