Skip to content

Commit 7b55501

Browse files
authored
CHANGE @W-17514797@ v5 release process no longer runs yarn upgrade (#1728)
1 parent b31d65b commit 7b55501

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/create-release-branch.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
git checkout -b $INTERIM_BRANCH_NAME
3838
# Immediately push the interim branch with no changes, so GraphQL can push to it later.
3939
git push --set-upstream origin $INTERIM_BRANCH_NAME
40-
# Update our dependencies.
41-
- run: |
42-
yarn upgrade
4340
# Use the GraphQL API to create a signed commit with the various changes.
4441
- name: Commit to interim branch
4542
run: |
@@ -50,11 +47,10 @@ jobs:
5047
MESSAGE="Preparing for v$NEW_VERSION release."
5148
# GraphQL needs the latest versions of the files we changed, as Base64 encoded strings.
5249
NEW_PACKAGE="$(cat package.json | base64)"
53-
NEW_YARN_LOCK="$(cat yarn.lock | base64)"
5450
gh api graphql -F message="$MESSAGE" -F oldOid=`git rev-parse HEAD` -F branch="$BRANCH" \
55-
-F newPackage="$NEW_PACKAGE" -F newYarnLock="$NEW_YARN_LOCK" \
51+
-F newPackage="$NEW_PACKAGE" \
5652
-f query='
57-
mutation ($message: String!, $oldOid: GitObjectID!, $branch: String!, $newPackage: Base64String!, $newYarnLock: Base64String!) {
53+
mutation ($message: String!, $oldOid: GitObjectID!, $branch: String!, $newPackage: Base64String!) {
5854
createCommitOnBranch(input: {
5955
branch: {
6056
repositoryNameWithOwner: "forcedotcom/sfdx-scanner",
@@ -68,9 +64,6 @@ jobs:
6864
{
6965
path: "package.json",
7066
contents: $newPackage
71-
}, {
72-
path: "yarn.lock",
73-
contents: $newYarnLock
7467
}
7568
]
7669
},

0 commit comments

Comments
 (0)