Skip to content

add traditional chinese by @leo960612 #96

add traditional chinese by @leo960612

add traditional chinese by @leo960612 #96

name: Update version tag
on:
workflow_dispatch:
push:
paths:
- 'Release**'
- 'Release32**'
jobs:
update-tag:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get version from changelog
shell: bash
run: echo "VERSION=$(grep -m1 '\[*\]' Release/changes.log | sed 's/\[//' | sed 's/\]//' | awk '{$1=$1;print}')" >> $GITHUB_ENV
id: version
- name: rewrite version tag
run: |
cd svr
echo "${{ env.VERSION }}">VERSION
- uses: EndBug/add-and-commit@v7
with:
default_author: github_actions
message: 'Update svr/VERSION'