Skip to content

[pre-commit.ci] pre-commit autoupdate #120

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #120

Workflow file for this run

name: Changelog
on:
push:
branches:
- '*' # all branches
- '!main' # exclude main branch
jobs:
changelog:
name: Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.x'
- name: Use GitVersion
uses: gittools/actions/gitversion/[email protected]
id: gitversion
- name: Changelog
id: changelog
uses: nuuday/[email protected]
with:
next_version: "${{ steps.gitversion.outputs.majorMinorPatch }}"
- name: Bump version
run: |
sed -i "s/\(__version__ = \"\).*\(\"\)/\1$VER\2/g" terraplanfeed/__init__.py
env:
VER: ${{ steps.gitversion.outputs.majorMinorPatch }}
- name: Commit Changelog
uses: stefanzweifel/git-auto-commit-action@v4