mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
5518b2da18
- also fix tagging the release in the dist repo Closes gh-5517
22 lines
421 B
Bash
22 lines
421 B
Bash
#!/bin/sh
|
|
|
|
set -euo pipefail
|
|
|
|
# Install dependencies
|
|
npm ci
|
|
|
|
# Clean all release and build artifacts
|
|
npm run build:clean
|
|
npm run release:clean
|
|
|
|
# Check authors
|
|
npm run authors:check
|
|
|
|
# Run tests
|
|
npm test
|
|
|
|
# Clone dist and cdn repos to the tmp/release directory
|
|
mkdir -p tmp/release
|
|
git clone https://github.com/jquery/jquery-dist tmp/release/dist
|
|
git clone https://github.com/jquery/codeorigin.jquery.com tmp/release/cdn
|