diff --git a/release.sh b/release.sh index 0aaf7a1..d1a7a4f 100755 --- a/release.sh +++ b/release.sh @@ -6,16 +6,16 @@ version="$1" echo "change version in files" echo "__version__ = '$version'" > "$script_directory/aki/version.py" -sed -i'.bak' -e "s@^pipx install .*@pipx install https://github.com/4sh/aki/releases/download/v$version/aki-$version.tar.gz@" "README.md" +sed -i'.bak' -e "s@^pipx install .*@pipx install https://github.com/4sh/aki/releases/download/v$version/aki-$version-py3-none-any.whl@" "README.md" sed -i'.bak' -e "s@^version = .*@version = \"$version\"@" "pyproject.toml" rm README.md.bak pyproject.toml.bak echo "poetry build" -poetry build +poetry blixbuild echo "commit and tag" git commit --all --message "release $version" git tag "v$version" -echo "upload $script_directory/dist/aki-$version.tar.gz to a new release $version on https://github.com/4sh/aki/releases" +echo "upload $script_directory/dist/aki-$version-py3-none-any.whl to a new release $version on https://github.com/4sh/aki/releases" echo "push for publish version and docker package : git push && git push --tags"