Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.sh 758B

12345678910111213141516171819202122232425262728293031323334
  1. #!/bin/sh
  2. # creates tar.gz for current version
  3. VERSION=`./plessc -v | sed -n 's/^v\(.*\)$/\1/p'`
  4. OUT_DIR="tmp/lessphp"
  5. TMP=`dirname $OUT_DIR`
  6. mkdir -p $OUT_DIR
  7. tar -c `git ls-files` | tar -C $OUT_DIR -x
  8. rm $OUT_DIR/.gitignore
  9. rm $OUT_DIR/package.sh
  10. rm $OUT_DIR/lessify
  11. rm $OUT_DIR/lessify.inc.php
  12. OUT_NAME="lessphp-$VERSION.tar.gz"
  13. tar -czf $OUT_NAME -C $TMP lessphp/
  14. echo "Wrote $OUT_NAME"
  15. rm -r $TMP
  16. echo
  17. echo "Don't forget to"
  18. echo "* Update the version in lessc.inc.php (two places)"
  19. echo "* Update the version in the README.md"
  20. echo "* Update the version in docs.md (two places)"
  21. echo "* Update @current_version in site.moon"
  22. echo "* Add entry to feed.moon for changelog"
  23. echo "* Update the -New- area on homepage with date and features"
  24. echo