Skip to content

Commit 46f6ab1

Browse files
committed
change version tagging
1 parent 0f515df commit 46f6ab1

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727

2828
- name: Build package
2929
run: |
30+
echo "__version__='${{ inputs.version }}'" > cxone_api/__version__.py
3031
pip3 install build
3132
python3 -m build
3233

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,9 @@ jobs:
6767
- name: Set Version
6868
if: ${{ inputs.version != '' }}
6969
run: |
70-
echo "__version__='${{ needs.make-tag-string.outputs.tag }}'" > cxone_api/__version__.py
7170
git config --global user.email "${{ github.triggering_actor }}"
7271
git config --global user.name "${{ github.triggering_actor }}"
73-
git add cxone_api/__version__.py
74-
git commit -m "build ${{ needs.make-tag-string.outputs.tag }}"
7572
git tag ${{ needs.make-tag-string.outputs.tag }}
76-
git push origin
7773
git push origin --tags
7874
7975
- name: Set tag status

cxone_api/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__='1.0.2'
1+
__version__='DEV'

0 commit comments

Comments
 (0)