Skip to content

ci: Removed version from commit msg #4

ci: Removed version from commit msg

ci: Removed version from commit msg #4

Workflow file for this run

name: Semver Bump
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
auto-semver:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release with semantic-release
uses: tjtharrison/github-actions-releaser@v1
id: release
with:
PROJECT_NAME: gpush
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update version file
env:
NEW_VERSION: ${{ steps.release.outputs.NEW_RELEASE }}
run: |
echo $NEW_VERSION
sed -i 's/\.*\/'$NEW_VERSION'/g' _version.py
- name: Commit version file
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: chore: "bump version [skip ci]"

Check failure on line 35 in .github/workflows/main-release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 35
file_pattern: _version.py