Skip to content

Commit 8b18c55

Browse files
committed
ci reset and release script added
1 parent f14e666 commit 8b18c55

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,3 @@ jobs:
3737
if: github.event_name == 'push'
3838
run: |
3939
poetry run codecov --token=${{ secrets.CODECOV_TOKEN }}
40-
- name: Get version
41-
id: vars
42-
run: echo ::set-output name=version::$(cat pyproject.toml)
43-
- name: Test output
44-
run: echo ${{ steps.vars.outputs.version }}

.github/workflows/pypi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
run: |
1919
python -m pip install --upgrade pip poetry
2020
poetry install --no-root
21+
- name: Update Version
22+
run: |
23+
poetry version ${{ github.ref }}
2124
- name: Build Library
2225
run: |
2326
poetry build

0 commit comments

Comments
 (0)