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 bower install
.
VERSION=42.0.13
— We'll use this value later.git flow release start $VERSION
- Update the version numbers in these files:
plugin.ini
package.json
bower.json
git add plugin.ini package.json bower.json && git commit -m "Bumped version."
grunt build
- Make sure extraneous files aren't in your working directory. (I'm looking at you,
tags
.) grunt package
git add --all views/shared
git commit -m "Updated generated assets."
- quick check the zip in
./pkg/
- test the zip
git flow release finish $VERSION
git push --all
git push --tags
- upload the zip to http://omeka.org/add-ons/plugins/.