jquery/build/release/pre-release.sh
Timmy Willison 5518b2da18
Release: fix running pre/post release scripts in windows
- also fix tagging the release in the dist repo

Closes gh-5517
2024-07-11 12:23:10 -04:00

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