Skip to content

r2‐xxx‐js packages, NPM publish

Daniel Weck edited this page Feb 29, 2024 · 6 revisions

components (ordered)

  • r2-utils-js
  • r2-lcp-js
  • r2-shared-js
  • r2-opds-js
  • r2-streamer-js
  • r2-navigator-js

release steps

  • cd r2-xxx-js ( https://github.com/readium/r2-xxx-js/ )
  • npm run build:all
  • npm run test
  • git commit -a -m "v__VERSION__" && git push
  • npm run gitrev
  • npm run gitdist
  • npm publish
  • git --no-pager tag --list
  • GIT_COMMITTER_DATE="$(git show develop --format=%aD | head -1)" git tag -a "v__VERSION__" develop -m "tag v__VERSION__" && git push --tags origin develop && git --no-pager tag --list --format='%(refname) %(taggerdate)'
  • cd ../r2-xxx-js-dist ( https://github.com/edrlab/r2-xxx-js-dist/ )
  • git --no-pager tag --list
  • GIT_COMMITTER_DATE="$(git show develop --format=%aD | head -1)" git tag -a "v__VERSION__" develop -m "tag v__VERSION__" && git push --tags origin develop && git --no-pager tag --list --format='%(refname) %(taggerdate)'