mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
69d7df20d8
* chore: enable pnp yarn * chore: ignore pnp * fix type issues on run eslint * add missing dependency and fix some errors * fix most of the errors some were just disabled, already fixed in master * add missing jest-config * update jest@26 align with other deps * add missing @babel/register * clean up * use yarn node * use yarn node on release * chore: add husky 6 * chore: add husky 6 * chore: lint-stage * chore: test * chore: add hook git * chore: test * chore: test * update deps * chore: fix commit lint * fix docker run * update git ignore
10 lines
288 B
Bash
10 lines
288 B
Bash
#!/bin/bash
|
|
|
|
# Get the last tag from GitHub
|
|
lastTag=$(git describe --tags $(git rev-list --tags --max-count=1))
|
|
|
|
changelog=$(git show $GITHUB_SHA --unified=0 CHANGELOG.md | tail +12 | sed -e 's/^\+//')
|
|
|
|
echo "$changelog"
|
|
|
|
echo "$changelog" | yarn node scripts/trigger-release.js $lastTag
|