sharad jain
sharad jain

Reputation: 153

Create a new version of application to publish using poetry

I was trying to find answer on sites but could not get it.

Actually i have an application in python for which maintaining versions using poetry.

Right now when i run below command it shows the current version of app :

poetry version
ami-utility 0.1.1-alpha.0

i had already published this version to repo and have made many changes in app after that release. but now when i am running poetry build .. it is again creating the same version :

poetry build
Building ami-utility (0.1.1-alpha.0)
   - Building sdist
   - Built ami-utility-0.1.1-a0.tar.gz
   - Building wheel
   - Built ami-utility-0.1.1-a0-py3-none-any-whl

but now i want to create a new version . Could you please suggest how to create now a new version and publish the new version?

Thanks Sharad

Upvotes: 1

Views: 2776

Answers (1)

sharad jain
sharad jain

Reputation: 153

it worked with below command

poetry version 0.1.2

and then publish again.

Upvotes: 3

Related Questions