Skip to content

Commit

Permalink
no need to be on main for the publish script
Browse files Browse the repository at this point in the history
Co-authored-by: Arvid Lunnemark <[email protected]>
  • Loading branch information
arvid220u committed Oct 12, 2024
1 parent a5cc762 commit b2d1db7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions push-to-open-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ if [[ -n $(git status --porcelain) ]]; then
exit 1
fi

# make sure we are on main, otherwise print warning
if [[ $(git branch --show-current) != "main" ]]; then
echo "WARNING: You are not on main branch, please switch to main branch before running this script."
exit 1
fi

# copy over the eslintrc.base.json
cp -f "$SCRIPT_DIR"/../../.eslintrc.base.json "$SCRIPT_DIR"/.eslintrc.base.json
if [[ -n $(git status --porcelain) ]]; then
Expand Down

0 comments on commit b2d1db7

Please sign in to comment.