File: mk-src-archive.sh

package info (click to toggle)
editorconfig-core 0.12.9%2B~0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 936 kB
  • sloc: ansic: 1,601; makefile: 16; sh: 10
file content (14 lines) | stat: -rwxr-xr-x 442 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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