editorconfig-core/mk-src-archive.sh

15 lines
442 B
Bash
Raw Permalink Normal View History

2022-11-16 20:09:17 +08:00
#!/bin/sh
# Make a source archive for the current EditorConfig version.
if [ $# -ne 1 ]; then
echo "Usage: "$0" VERSION"
echo ""
echo "e.g. "$0" 0.10.0"
echo
exit
fi
curl -L https://raw.githubusercontent.com/Kentzo/git-archive-all/master/git_archive_all.py | python - editorconfig-core-c-$*.tar.gz
curl -L https://raw.githubusercontent.com/Kentzo/git-archive-all/master/git_archive_all.py | python - editorconfig-core-c-$*.zip