Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scripts with Package aliases and update Release process in README #304

Merged
merged 2 commits into from
Mar 30, 2021

Conversation

aleksandr-kotlyar
Copy link
Collaborator

What?

Added bash script aliases for new release process

  1. bump_version.sh - automatically updates both selene/__init__.py:__version and pyproject.toml:version
  2. build.sh - building project with poetry
  3. publish.sh - publishing project with poetry.
  4. bump_version_and_publish.sh - do everything above.

Updated Release process in README:

  1. bump version via bash .run/bump_version.sh x.x.x
  2. build via bash .run/build.sh
  3. publish via bash .run/publish.sh

or

bash .run/bump_version_and_publish.sh x.x.x

or

  1. manually bump version in pyproject.toml and selene/__init.py:__version__
  2. poetry publish --build

Why?

  1. To make release more easier and automated.
  2. Since moved setup.py to pyproject.toml - old release process instruction has became out of date and we need new release process instruction.

… scripts in bump_build_publish.sh; update readme with these changes.
@yashaka yashaka merged commit 95cd284 into yashaka:master Mar 30, 2021
github-actions bot added a commit that referenced this pull request Mar 30, 2021
add scripts with Package aliases and update Release process in README
aleksandr-kotlyar pushed a commit to aleksandr-kotlyar/selene that referenced this pull request Apr 4, 2021
add scripts with Package aliases and update Release process in README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants