Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Commit

Permalink
Add images.json comparison when updating. Update release steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmich committed Mar 23, 2018
1 parent 8483b31 commit a3f047c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SHELL := /bin/bash

update-images:
ruby create-images.rb
mvimdiff <(git show master:images.json | jq -r .) <(cat images.json | jq -r .)

.PHONY: update-images
3 changes: 1 addition & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Releasing

- Update card images in repo
- Commit: `git commit`
- Update version number in `package.json`
- Bump major version when the JSON format changes in a breaking way
- Bump minor version when new cards are added
- Bump patch version when card images are updated
- Update `images.json`: `ruby create-images.rb`
- Update `images.json`: `make update-images`
- Commit: `git commit`
- Tag release: `git tag -s x.y.z -m 'Release x.y.z.'`
- Push changes: `git push && git push --tags`
Expand Down

0 comments on commit a3f047c

Please sign in to comment.