Skip to content

chore(deps): bump freezegun from 1.3.0 to 1.3.1 #38

chore(deps): bump freezegun from 1.3.0 to 1.3.1

chore(deps): bump freezegun from 1.3.0 to 1.3.1 #38

Workflow file for this run

name: Release
on:
pull_request:
release:
types: [created]
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'poetry'
- run: poetry install
- name: Configure poetry
run: poetry config pypi-token.pypi ${{ secrets.RABE_PYPI_TOKEN }}
if: ${{ github.event_name != 'pull_request' }}
- name: Set dry-run flag
id: dry-run
run: |
flag="--dry-run"
if ${{ github.event_name != 'pull_request' }}
then
flag=""
fi
echo "flag=$flag" >> $GITHUB_OUTPUT
- run: poetry version $(git describe --tags --abbrev=0 --exact-match || (git describe --tags --abbrev=0 --dirty=+dev|tr -d '\n'; echo "+dev"))
- run: poetry publish --build --no-interaction ${{ steps.dry-run.outputs.flag }}