template-project/node_modules/exiftool-vendored/RELEASE.md
2025-05-30 18:13:30 +08:00

1.7 KiB

Releasing new versions of exiftool-vendored

  1. git clone this repo into ~/src

  2. On a POSIX machine, clone exiftool-vendored.pl into ~/src (or another common subdirectory)

  3. On a Windows machine, clone exiftool-vendored.exe

  4. On POSIX, in ../exiftool-vendored.pl:

    1. Run the "check-updates" GitHub Action. If there is a pending update, a PR is generated.
    2. Verify and merge the PR
    3. Run the "release" GitHub Action.
  5. On Windows, in ...\exiftool-vendored.exe\: (The terminal built into vscode plays with ncu and release-it a bit nicer than CMD or Windows for Git's terminal)

    1. git stash -u && git fetch && git checkout main && npm install && npm run update && npm run test
    2. Verify diffs are reasonable, and commit
    3. npx release-it --only-version
  6. Finally, back on the POSIX box, release exiftool-vendored:

    1. cd ../exiftool-vendored.js
    2. npm run u
    3. npm run mktags ../test-images # < assumes ../test-images has the full ExifTool sample image suite
    4. npm run fmt && npm run lint && npm run docs
    5. Verify docs were rebuilt successfully at http://localhost:3000/index.html
    6. npm run test
    7. Verify diffs are reasonable, git commit and git push
    8. Verify Node.js CI
    9. Update the CHANGELOG.md
    10. npx release-it --only-version