- update version strings (but not in
jsr.json
yet) - commit 'Bump version to vx.y.z'
- tag the commit with the new version string (with annotation)
- push to github (this will add updated test output to
README.md
) - push to github with --tags (does not work @step4? why?)
- create release on GitHub (with annotation text from @step3)
- pull from github (to get updated
README.md
and minified build) - update version string in
jsr.json
- commit 'Bump jsr.io to vx.y.z'
- generate new
CHANGELOG.md
- commit 'doc: update changelog'
- push to github (this will upload the fresh repository snapshot to
jsr.io
)
package.json
-"version"
property valuefiles-to-prompt.ts
-VERSION
variable at the top of the scriptREADME.md
- download links for the raw script in theInstallation
section
Generate CHANGELOG.md from git tag annotations with this commandline:
git for-each-ref --sort=-taggerdate --format='## %(refname:short)%n%(contents)%n---%n' refs/tags | sed 's/%n/\n/g' > CHANGELOG.md
jsr.json
-"version"
property value
Note: Updating this version string will trigger the publish.yml workflow and upload the repository files to
jsr.io
after push to GitHub
- minified build will be generated by build.yml workflow after release
- test output will be generated and inserted into
README.md
by test.yml after tagging test.yml
workflow can fail (bun test
reports failed tests), pay attention to GitHub notifications- simple test for Deno compatibility:
deno run -A ./files-to-prompt.ts /some/testfolder
- simple test for Node compatibility:
node ./minified/ftp-vx.y.z-min.js /some/testfolder