Skip to content

Commit cd5ced4

Browse files
committed
Auto stash before merge of "main" and "origin/main"
1 parent fee41ab commit cd5ced4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
python -m pip install --upgrade pip
3737
pip install poetry
3838
39-
- name: Get current version
39+
- name: Get current version from PyPI
4040
run: |
41-
current_version=$(grep '^version' pyproject.toml | head -1 | cut -d'"' -f2)
41+
current_version=$(pip index versions VedAstro 2>/dev/null | head -1 | grep -oP '\(\K[^)]+' || echo "0.0.0")
4242
echo "CURRENT_VERSION=$current_version" >> $GITHUB_ENV
4343
4444
- name: Bump version

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "VedAstro"
3-
version = "1.22.26"
3+
version = "1.23.19"
44
description = "An open source Python library for advanced astronomical calculations like planet longitude, house sign, shadbala, etc..."
55
authors = ["Tharaka Umayanga <tharakau@gmail.com>"]
66
readme = "README.md"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='VedAstro',
5-
version='1.22.26',
5+
version='1.23.19',
66
description='An open source Python library for advanced astronomical calculations like planet longitude, house sign, shadbala, etc...',
77
author='Tharaka Umayanga',
88
author_email='tharakau@gmail.com',

0 commit comments

Comments
 (0)