Skip to content

Prepare for the next release #51

Prepare for the next release

Prepare for the next release #51

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- crossbeam-[0-9]+.*
- crossbeam-[a-z]+-[0-9]+.*
defaults:
run:
shell: bash
jobs:
create-release:
if: github.repository_owner == 'crossbeam-rs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
prefix: crossbeam(-[a-z]+)?
changelog: $prefix/CHANGELOG.md
title: $prefix $version
branch: v0.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: "!startsWith(github.ref_name, 'crossbeam-0')"
# Since the crossbeam crate is located at the root, we need to handle it differently.
# TODO: Consider moving crossbeam crate to a subdirectory.
- uses: taiki-e/create-gh-release-action@v1
with:
prefix: crossbeam(-[a-z]+)?
changelog: CHANGELOG.md
title: crossbeam $version
branch: v0.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: startsWith(github.ref_name, 'crossbeam-0')