mirror of
https://github.com/tower-rs/tower.git
synced 2026-01-09 18:21:05 +00:00
In #643, I accidentally included a `v` before the version number in the regex for matching release tags for the `tower` crate, but not for `tower-whatever` crates. All previous release tags on this repo don't use a `v`, so adding it was a mistake. This branch removes it.
24 lines
605 B
YAML
24 lines
605 B
YAML
name: create github release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- tower-[0-9]+.*
|
|
- tower-[a-z]+-[0-9]+.*
|
|
|
|
jobs:
|
|
create-release:
|
|
name: Create GitHub release
|
|
# only publish from the origin repository
|
|
if: github.repository_owner == 'tower-rs'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: taiki-e/create-gh-release-action@v1.3.0
|
|
with:
|
|
prefix: "(tower)|(tower-[a-z]+)"
|
|
changelog: "$prefix/CHANGELOG.md"
|
|
title: "$prefix $version"
|
|
branch: master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |