mirror of
https://github.com/tokio-rs/tracing.git
synced 2026-03-24 08:30:22 +00:00
Older versions use node 12 which is no longer supported (end-of-life on April 30, 2022). Also, @main/@master is not very good as they may run into unreleased breaking changes.
25 lines
585 B
YAML
25 lines
585 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- tracing-[0-9]+.*
|
|
- tracing-[a-z]+-[0-9]+.*
|
|
|
|
jobs:
|
|
create-release:
|
|
name: Create GitHub release
|
|
# only publish from the origin repository
|
|
if: github.repository_owner == 'tokio-rs'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: taiki-e/create-gh-release-action@v1
|
|
with:
|
|
prefix: tracing(-[a-z]+)?
|
|
changelog: "$prefix/CHANGELOG.md"
|
|
title: "$prefix $version"
|
|
branch: v0.1.x
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|