Files
js-util/.github/workflows/static.yml
T
sugoidogo 4fe053c324
Release / release (push) Successful in 2m6s
clean up project for use with npm install
2025-12-15 19:48:56 -08:00

25 lines
525 B
YAML

name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: npm pack
- run: mv js-util*.tgz js-util.tgz
- run: git log $(git describe --tags --abbrev=0 HEAD~1)..HEAD --oneline > changelog.txt
- uses: softprops/action-gh-release@v2
with:
make_latest: true
body_path: changelog.txt
files: js-util.tgz