Skip to content

remla24-team10/lib-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 lib-version

This is a package that returns the version of itself.

🛠️ Building the package locally

You need to have poetry installed before running this: pipx install poetry.

  1. poetry install
  2. poetry shell
  3. poetry build

📤 Uploading to PyPi manually

This can be done after building the package locally. Please don't upload manually if not necessary, the GitHub workflow will take care of this. But if you need to do it manually, input this command. The API key is shared in the team channel.

  1. python3 -m twine upload --repository pypi dist/*

🔄 Updating the package via workflow

After pushing an update you can tag it with the following command to trigger the workflow.

  1. git tag <tag_name>, where 0.0.1 can be any version. This tags the latest commit.
  2. git push origin <tag_name>, where 0.0.1 will be the tag name.

📥 Importing the package from PyPi

To use the package in your project you can install it from PyPi using this link.

pip install lib-version-remla

🚀 Using the functionality

from lib_version_remla import return_version
version = return_version.VersionUtil.get_version()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages