Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: properly publish all packages on travis #1187

Merged
merged 4 commits into from
Mar 3, 2020

Conversation

aslushnikov
Copy link
Collaborator

No description provided.

// If they are not equal - refuse to publish since
// we're not tip-of-tree.
const upstream_sha = execSync(`git ls-remote https://github.com/Microsoft/playwright --tags master | cut -f1`).toString('utf8');
const current_sha = execSync(`git rev-parse HEAD`).toString('utf8');
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this check moved to publish_all_packages.sh

exit 1
fi

if [[ (-n $NPM_AUTH_TOKEN) && (! -f $HOME/.npmrc) ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra CI check

exit 1
fi
VERSION=$(node -e 'console.log(require("./package.json").version)')
echo -n "Publish Playwright v${VERSION} (y/n)? "
Copy link
Contributor

@JoelEinbinder JoelEinbinder Mar 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: y/N

Suggested change
echo -n "Publish Playwright v${VERSION} (y/n)? "
echo -n "Publish Playwright v${VERSION} (y/N)? "

@aslushnikov aslushnikov merged commit 57c45f0 into microsoft:master Mar 3, 2020
@aslushnikov aslushnikov deleted the better-publish branch March 3, 2020 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants