Bump setuptools from 65.5.1 to 70.0.0 (#123) #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tagging master using pyproject.toml | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Tag master using pyproject.toml | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v3 | |
- name: Tag master depending on the value in pyproject.toml | |
uses: djordon/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VERSION_COMMAND: > | |
cat pyproject.toml | |
| grep --extended-regexp "^version =" | |
| grep --extended-regexp --only-matching "[0-9]+\.[0-9]+.[0-9]+[-\.\+a-zA-Z0-9]*" | |
| head --lines=1 |