Skip to content

Update CNAME

Update CNAME #13

Workflow file for this run

name: versionbump
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
release:
types:
- released
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bump version
run: |
git config --global user.name 'ProjectBot'

Check failure on line 42 in .github/workflows/build-bump.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-bump.yml

Invalid workflow file

You have an error in your yaml syntax on line 42
git config --global user.email 'bot@users.noreply.github.com'
VERSION=$(sed -n '0,/.*<Version>\(.*\)<\/Version>.*/s//\1/p' module.xml)
VERSION=`echo $VERSION | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
sed -i "0,/<Version>\(.*\)<\/Version>/s//<Version>$VERSION<\/Version>/" module.xml
git add module.xml
git commit -m 'auto bump version'
git push