Skip to content

Commit

Permalink
Set version correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorton authored Jan 28, 2020
1 parent 3d6fd75 commit d3b3b5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
git status
- name: Set new version
run: |
cat package.json | jq '.version="'$(date '+%Y-%m-%d')'"' > package.json
cat package.json | jq '.version="'$(date '+%Y.%m.%d')'"' > package.json
cat crystal_toolkit/package.json | jq '.version="'$(date '+%Y.%m.%d')'"' > crystal_toolkit/package.json
git status
git diff --quiet || git commit -am "Set version"
git push
Expand Down

0 comments on commit d3b3b5a

Please sign in to comment.