Fix the instructions for publish on the release PR (#237)

This commit is contained in:
Félix Saparelli 2022-07-24 14:32:37 +12:00 committed by GitHub
parent adef01f3dd
commit 88b9aceb01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,8 +63,8 @@ jobs:
title="release: v${{ inputs.version }}"
body_intro="This is a release PR for version **${{ inputs.version }}**."
body_merge="**Use squash merge.** Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate."
body_pub="${fence}$ cd ${{ env.crate_path }}${nl}$ cargo publish${ecnef}"
body_merge="**Use squash merge.**${nl}Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate."
body_pub="${fence}$ git switch main${nl}$ git pull${nl}$ git checkout v${{ inputs.version }}${nl}$ cargo publish${ecnef}"
body_notes="---${br}_Edit release notes into the section below:_${br}<!-- do not change or remove this heading -->${nl}### Release notes"
body="${body_intro}${br}${body_merge}${br}${body_pub}${br}${body_notes}${br}"