Skip to content

Commit

Permalink
Don't git push. Remove debug logs (redwoodjs#8867)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jul 9, 2023
1 parent 1f0c977 commit 203dff9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ jobs:
| sed 's/\+.*//' \
> canary_version
echo "Will publish:"
echo "Canary version $(cat canary_version)"
cat packages/create-redwood-app/templates/js/package.json \
| sed "s/\"@redwoodjs\/\(.*\)\": \".*\"/\"@redwoodjs\/\1\": \"$(cat canary_version)\"/" \
> packages/create-redwood-app/templates/js/package.json
Expand All @@ -112,21 +109,11 @@ jobs:
| sed "s/\"@redwoodjs\/\(.*\)\": \".*\"/\"@redwoodjs\/\1\": \"$(cat canary_version)\"/" \
> packages/create-redwood-app/templates/ts/web/package.json
echo ""
echo "Updated ts web package.json:"
cat packages/create-redwood-app/templates/ts/web/package.json
echo ""
git config user.name "GitHub Actions"
git config user.email "<>"
git commit -am "Update create-redwood-app templates to use canary packages"
git log --oneline -n 10
echo "Pushing to $GITHUB_REF_NAME"
git push origin "$GITHUB_REF_NAME"
args+=(--yes)
yarn lerna publish "${args[@]}"
Expand Down

0 comments on commit 203dff9

Please sign in to comment.