Skip to content

Commit

Permalink
Update branch naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
neild3r committed Sep 5, 2021
1 parent ad2df52 commit 0807488
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
echo "$(<./out/RELEASE.md)" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Set run suffix
if: github.run_number > 1
run: echo "run_suffix=-${{ github.run_number }}" >> $GITHUB_ENV

- name: Stage changes
run: |
git add CHANGELOG.md package.json package-lock.json
Expand All @@ -55,6 +59,6 @@ jobs:
committer: php-docblocker <php-docblocker@brayfield.co.uk>
token: ${{ secrets.BOT_GITHUB_PAT }}
title: ${{ env.npm_package_version }}
branch: ${{ env.npm_package_version }}-pre${{ github.run_number }}
branch: releases/${{ env.npm_package_version }}${{ env.run_suffix }}
body: ${{ env.release_notes }}
labels: release candidate

0 comments on commit 0807488

Please sign in to comment.