Skip to content

Commit

Permalink
adding git tags to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
iskandr committed May 10, 2024
1 parent 74da46e commit fba0bb6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
5 changes: 4 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ python3 -m pip install --upgrade build && \
python3 -m pip install --upgrade twine && \
rm -rf dist && \
python3 -m build && \
python3 -m twine upload dist/*
git --version && \
python3 -m twine upload dist/* && \
git tag "$(python3 vaxrank/version.py)" && \
git push --tags

14 changes: 13 additions & 1 deletion vaxrank/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.6.0"

from .core_logic import run_vaxrank
from .epitope_prediction import EpitopePrediction
from .epitope_logic import predict_epitopes
from .vaccine_peptide import VaccinePeptide
from .version import __version__

__all__ = [
"__version__",
EpitopePrediction,
VaccinePeptide,
run_vaxrank,
predict_epitopes,
]
1 change: 0 additions & 1 deletion vaxrank/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import pkg_resources

from argparse import ArgumentParser

from isovar import isovar_results_to_dataframe
from isovar.cli import (make_isovar_arg_parser, run_isovar_from_parsed_args,)
from mhctools.cli import (
Expand Down
7 changes: 7 additions & 0 deletions vaxrank/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
__version__ = "1.6.0"

def print_version():
print(f"v{__version__}")

if __name__ == "__main__":
print_version()

0 comments on commit fba0bb6

Please sign in to comment.