Skip to content

fix: -skip parameter not properly used #18

fix: -skip parameter not properly used

fix: -skip parameter not properly used #18

Workflow file for this run

name: On merge
on:
pull_request:
branches:
- main
types:
- closed
paths-ignore:
- LICENSE
- README.md
- .flake8
- .github/**
- .gitignore
- .markdownlint.yaml
- .pre-commit-config.yaml
- .shellcheckrc
permissions:
contents: write
jobs:
tag:
name: Tagging
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Create and push new tag
run: |-
LAST_TAG=$(git tag --sort=creatordate --sort=v:refname | tail -n1)
NEW_TAG=$(grep -Po '(?<=version:\ ).*' plugin.yaml)
git tag "v$NEW_TAG"
git push --tags