diff --git a/maven.sh b/maven.sh new file mode 100755 index 00000000..3a0a640a --- /dev/null +++ b/maven.sh @@ -0,0 +1,4 @@ +version=$(git describe --tags --abbrev=0) +url="https://www.webjars.org/deploy?webJarType=npm&nameOrUrlish=flag-icons&version=${version#v}" +echo "curl '${url}'" +curl "$url" diff --git a/package.json b/package.json index f3c15e99..5ffb70f4 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "svgo:all": "find flags | grep '\\.svg$' | xargs -Iz -n 1 yarn svgo z && yarn ids", "svgo:min": "find flags | grep '\\.svg$' | xargs -Iz -n 1 svgo z && yarn ids", "svgo": "svgo --pretty --indent=2 --precision=1", - "test": "yarn prettier --list-different" + "test": "yarn prettier --list-different", + "maven": "./maven.sh" } }