Skip to content

Commit 603838d

Browse files
authored
chore: tweaks to release workflow (#72)
* add reviewers * use 'auto' label and title prefix * link to release details in PR comment * use a unique branch name to avoid conflicts
1 parent c1d2146 commit 603838d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ jobs:
5252
cd "$repo"
5353
if [ -f build.sh ]; then
5454
sed -i "s/^readonly BOOTSTRAP_VERSION=.*/readonly BOOTSTRAP_VERSION=${BOOTSTRAP_VERSION}/" build.sh
55-
git checkout -b update-bootstrap-version
55+
git checkout -b update-bootstrap-version-${BOOTSTRAP_VERSION}
5656
git add build.sh
5757
git commit -m "chore: update BOOTSTRAP_VERSION to ${BOOTSTRAP_VERSION}"
5858
git remote set-url --push origin "https://keyman-server:${GITHUB_TOKEN}@github.com/keymanapp/$repo.git"
59-
git push -u origin update-bootstrap-version
60-
gh pr create --title "chore: update BOOTSTRAP_VERSION to ${BOOTSTRAP_VERSION}" --body "This PR updates the BOOTSTRAP_VERSION in build.sh to ${BOOTSTRAP_VERSION}." --repo "keymanapp/${PWD##*/}"
59+
git push -u origin update-bootstrap-version-${BOOTSTRAP_VERSION}
60+
gh pr create --title "auto: update shared-sites version to ${BOOTSTRAP_VERSION}" --label auto --reviewer darcywong00,mcdurdin,ermshiperete --body "Update BOOTSTRAP_VERSION to [${BOOTSTRAP_VERSION}](https://github.com/keymanapp/shared-sites/releases/tag/${BOOTSTRAP_VERSION})." --repo "keymanapp/${PWD##*/}"
6161
fi
6262
cd ..
6363
done

0 commit comments

Comments
 (0)