Skip to content

Commit

Permalink
Publishing to maven central via 'yarn maven' (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis authored Nov 6, 2023
1 parent d1b88d1 commit 3a88efa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions maven.sh
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 3a88efa

Please sign in to comment.