Skip to content

Commit

Permalink
Update to pypa/gh-action-pypi-publish branch. Other miscellaneous ver… (
Browse files Browse the repository at this point in the history
#51)

* Update to pypa/gh-action-pypi-publish branch. Other miscellaneous version updates.

* Minor update to deploy-pypi gh action.
  • Loading branch information
SrikanthPagadarai authored Dec 2, 2024
1 parent c2bbbf9 commit 822b48d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cd bindings/python
python -m build
- uses: pypa/gh-action-pypi-publish@master
- uses: pypa/gh-action-pypi-publish@v1.12.2
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
with:
user: __token__
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13.4)
project(
genalyzer
VERSION 0.1
VERSION 0.1.1
LANGUAGES CXX C)

set(BUILD_SHARED_LIBS
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/genalyzer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Python bindings for Genalyzer"""

# Version of the genalyzer bindings (which may be different than the library version)
__version__ = "0.1"
__version__ = "0.1.1"
__author__ = "Analog Devices, Inc."


Expand Down
2 changes: 1 addition & 1 deletion bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "genalyzer"
version = "0.1"
version = "0.1.1"
dynamic = ["readme"]
description = "Python bindings for genalyzer converter analysis library"
license = {text = "ADI BSD"}
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author = "Analog Devices, Inc."

# The full version, including alpha/beta/rc tags
release = "v0.1"
release = "v0.1.1"


# -- General configuration ---------------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ def bumpversion_test(c, filename=None):
l = l.split(".")
major = int(l[0])
minor = int(l[1])
rev = int(l[2])
seconds = int(time.time())
line = ' '*s+'version = "{}.{}.dev.{}"\n'.format(
major, minor, seconds
line = ' '*s+'version = "{}.{}.{}.dev.{}"\n'.format(
major, minor, rev, seconds
)
ver_string = "{}.{}.dev.{}".format(major, minor, seconds)
ver_string = "{}.{}.{}.dev.{}".format(major, minor, rev, seconds)
print(line, end="")

print(f"Version bumped to {ver_string}")

0 comments on commit 822b48d

Please sign in to comment.