It's easiest to start from a working directory within an Omeka installation.
git flow
should have been set up. Make sure to run npm install
and bundle install
also.
VERSION=42.0.13
— We'll use this value later.PATH=$PATH:./node_modules/.bin
git flow release start $VERSION
- Update the version numbers in these files:
plugin.ini
package.json
git add plugin.ini package.json && git commit
grunt build
git add --all views/shared
git commit -m "Updated generated assets."
- Make sure extraneous files aren't in your working directory. (I'm looking at you,
tags
.) grunt package
- quick check the zip in
./pkg/
- test the zip
git flow release finish $VERSION
git push
git push --tags
- upload the zip to http://omeka.org/add-ons/plugins/.