Skip to content

Merge pull request #195 from tkrs/dependabot/cargo/pretty_env_logger-0.5 #21

Merge pull request #195 from tkrs/dependabot/cargo/pretty_env_logger-0.5

Merge pull request #195 from tkrs/dependabot/cargo/pretty_env_logger-0.5 #21

Workflow file for this run

name: Create Release Tag
on:
push:
branches: [master]
jobs:
create-tag:
environment: crates-io
runs-on: ubuntu-latest
if: ${{ startsWith(github.event.commits[0].message, 'chore(release):') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: Setup git user
run: |
git config user.email "[email protected]"
git config user.name "Takeru Sato"
- name: Setup Node.js
uses: actions/setup-node@v4
- run: sudo npm install -g commit-and-tag-version
- name: Create tag
run: commit-and-tag-version --skip.changelog --skip.commit
- name: Publish tag
run: git push --follow-tags