Skip to content

Update myst-parser[linkify] requirement from <3,>=0.18 to >=0.18,<4 #34

Update myst-parser[linkify] requirement from <3,>=0.18 to >=0.18,<4

Update myst-parser[linkify] requirement from <3,>=0.18 to >=0.18,<4 #34

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Get tag
id: get_tag
run: |
get_tag=$(cat setup.py | grep -E '__version__ =' | awk '{print $3}' | tr -d \")
last_tag=$(git describe --tags --abbrev=0)
echo ::set-output name=tag::$get_tag
echo ::set-output name=last_tag::$last_tag
- name: Bump version and push tag
if: steps.get_tag.outputs.tag != steps.get_tag.outputs.last_tag
id: bumptag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_TAG: ${{ steps.get_tag.outputs.tag }}
- name: Run build
if: steps.get_tag.outputs.tag != steps.get_tag.outputs.last_tag
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
python setup.py sdist bdist_wheel
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1
if: steps.get_tag.outputs.tag != steps.get_tag.outputs.last_tag
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}