Skip to content

fix(ci): remove extra print #5

fix(ci): remove extra print

fix(ci): remove extra print #5

Workflow file for this run

name: release-pr
on:
push:
branches:
- ops/support-automated-releases
# TODO: how should this be triggered?
# - prep-release-v[0-9]+\.[0-9]+\.[0-9]+
workflow_dispatch:
inputs:
version:
description: Version to release (ex. `v0.1.0`)
required: false
type: string
jobs:
make-release-pr:
permissions:
id-token: write
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: chainguard-dev/actions/setup-gitsign@main
- name: Install cargo-release
uses: taiki-e/install-action@v1
with:
tool: cargo-release,just,cargo-get
- name: Determine version
id: determine-version
env:
VERSION: ${{inputs.version}}
run: |
echo value=$(just print-version) >> GITHUB_OUTPUT
# TODO: We should update the CHANGELOG to the new version
- uses: cargo-bins/release-pr@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# TODO: We should configure the PR text
version: ${{ steps.determine-version.outputs.value }}