A Heroku buildpack for pandoc.
To install this buildpack run:
$ heroku buildpacks:add https://github.com/scholastica/pandoc-buildpack.git -a [YOUR-APP-NAME]
OR use a tagged version
$ heroku buildpacks:add https://github.com/scholastica/pandoc-buildpack.git#2.0.3 -a [YOUR-APP-NAME]
The buildpack will be installed on the next heroku deploy.
To cut a new release use the github user interface.
pandocbinary from this archive into
For details, see the script in bin/compile.
First, upgrade your local version of Pandoc as specified in your Dockerfile and rebuild your image (i.e.
docker-compose build web). This PR should provide ample inspiration. Once upgraded, you can test the upgrade locally and make sure everything still works as expected.
To be clear, this step has nothing to do with this buildpack – that comes in later steps.
Now that you're confident the new version works, you need to update this buildpack to point to the latest version of Pandoc. This is very easy and requires changing a few line in
bin/compile. This PR should provide ample inspiration.
Then, you need to merge your change into master and cut a new release. As described above, this can be done entirely via the Github web interface.
Then, you need to update all Heroku cloud environments to use your newly minted buildpack. This process looks like:
# Remove existing buildpack (i.e. the old pandoc version) heroku buildpacks:remove https://github.com/scholastica/pandoc-buildpack.git#2.0.3 -a scholastica # Add new buildpack. Note: You'll need to update the tag number heroku buildpacks:add https://github.com/scholastica/pandoc-buildpack.git#2.3 -a scholastica
Note: You'll need to repeat these steps for all cloud environments (demo, staging, production).
Copy the snippet above into CLI.