Skip to content

Commit

Permalink
Debug CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
bdragon300 committed Nov 3, 2024
1 parent 23aef40 commit 3e80fdc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install
run: |
poetry install
apt-get update && apt-get install -y yq
- run: poetry config repositories.testpypi https://test.pypi.org/legacy/
- name: Substitute dynamic version
run: sed -ir 's/version *= *.([0-9.]+)./version = "\1-123"/' pyproject.toml
run: tomlq -i --arg now $(date +%s) '.tool.poetry.version += "-" + $now' pyproject.toml
- name: Publish package
run: poetry publish -r testpypi --build
env:
Expand Down

0 comments on commit 3e80fdc

Please sign in to comment.