work.suroh.tk/node_modules/@11ty/eleventy/docs/meta-release.md

1.2 KiB
Raw Blame History

Beta Release Procedure

  1. update minor dependencies in package.json?
  2. npmclean
  3. npm audit
  4. Update version in package.json, include -beta.1 suffix
  5. Run npm run coverage
  6. Check it all in and commit
  7. Tag new version
  8. npm publish --access=public --tag=beta

Release Procedure

  1. update minor dependencies in package.json? npm outdated npm update --save
  2. npmclean first
  3. npm audit
  4. Update version in package.json
  5. Run npm run coverage
  6. Check it all in and commit
  7. Tag new version
  8. npm publish --access=public

If branch docs do not exist

  1. Check in a new 11ty.io site with updated package.json version.
  2. Add version to 11ty.io versions.json
  3. Create a new branch for branched version
  4. Go to https://app.netlify.com/sites/11ty/settings/domain and set up a subdomain for it.

Always:

  1. Check out the previous version git branch and add outdated: true to _data/config.json and commit/push.
  2. Update eleventy-base-blog?

If Branch docs already exist, 11ty.io (unlikely, I dont do this any more)

  1. Check to make sure "prerelease": false in _data/config.json
  2. Check to make sure "prerelease": true does not exist in current version in _data/versions.json
  3. Merge branch to master.