Skip to content

Commit

Permalink
chore: use poeblix for fix dependencies
Browse files Browse the repository at this point in the history
+ replace tarball by wheels
  • Loading branch information
nroulon committed May 30, 2024
1 parent 5195556 commit 6fbe64a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 6fbe64a

Please sign in to comment.