Skip to content

Commit 26c8c6f

Browse files
committed
Added git to the pipeline
1 parent c589e74 commit 26c8c6f

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/deploy_to_test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
- name: Building Package
3333
run: python setup.py bdist_wheel
3434

35-
- name: Publish package
36-
uses: pypa/gh-action-pypi-publish@release/v1
37-
with:
38-
skip_existing: true
39-
password: ${{ secrets.PYPI_API_TOKEN }}
40-
repository_url: https://test.pypi.org/legacy/
35+
# - name: Publish package
36+
# uses: pypa/gh-action-pypi-publish@release/v1
37+
# with:
38+
# skip_existing: true
39+
# password: ${{ secrets.PYPI_API_TOKEN }}
40+
# repository_url: https://test.pypi.org/legacy/

.github/workflows/publish_to_pypi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
with:
2020
python-version: '3.10'
2121

22+
- name: Installing git
23+
run: pip install gitpython
24+
2225
- name: Generate local version
2326
run: python freeze_version.py
2427

freeze_version.py

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

1212
build_date = date.today().strftime('%Y-%m-%d')
1313

14-
version = '0.0.14'
14+
version = '0.0.1'
1515

1616
with open(version_file_path, 'w+') as version_file:
1717
version_file.write("version = '{}'\n".format(version))

0 commit comments

Comments
 (0)