Skip to content

Commit

Permalink
update spec download script (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
broothie committed Apr 12, 2024
1 parent 30b899b commit cf94855
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions bin/update_spec_case_files.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#! /usr/bin/env bash

echo "Update valid.yml"
curl https://api.github.com/repos/jetpack-io/typeid/contents/spec/valid.yml \
-H 'Accept: application/vnd.github.raw' \
> spec/valid.yml
curl https://raw.githubusercontent.com/jetify-com/typeid/main/spec/valid.yml > spec/valid.yml

echo "Update invalid.yml"
curl https://api.github.com/repos/jetpack-io/typeid/contents/spec/invalid.yml \
-H 'Accept: application/vnd.github.raw' \
> spec/invalid.yml
curl https://raw.githubusercontent.com/jetify-com/typeid/main/spec/invalid.yml > spec/invalid.yml

0 comments on commit cf94855

Please sign in to comment.