summaryrefslogtreecommitdiff
path: root/vendor/github.com/tdewolff/minify/v2/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/tdewolff/minify/v2/publish.sh')
-rw-r--r--vendor/github.com/tdewolff/minify/v2/publish.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/vendor/github.com/tdewolff/minify/v2/publish.sh b/vendor/github.com/tdewolff/minify/v2/publish.sh
deleted file mode 100644
index 476657d8f..000000000
--- a/vendor/github.com/tdewolff/minify/v2/publish.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-VERSION=`git describe --tags --abbrev=0 | cut -c 2-`
-
-cd dist
-echo ""
-echo "Downloading v$VERSION.tar.gz..."
-wget -q --show-progress https://github.com/tdewolff/minify/archive/v$VERSION.tar.gz
-SHA256=`sha256sum v$VERSION.tar.gz`
-SHA256=( $SHA256 )
-
-GOMODCACHE="$PWD"/go-mod go mod download -modcacherw -x
-tar -caf minify-deps.tar.xz go-mod
-rm -rf go-mod
-
-echo ""
-echo "Releasing for AUR..."
-cd /home/taco/dev/aur/minify
-sed -i "s/^pkgver=.*$/pkgver=$VERSION/" PKGBUILD
-sed -i "s/^sha256sums=.*$/sha256sums=('$SHA256')/" PKGBUILD
-./build.sh
-git commit -am "Update to v$VERSION"
-git push
-cd -
-
-echo ""
-echo "Releasing for Homebrew..."
-cd /home/taco/dev/brew/homebrew-tap/Formula
-sed -i "s,^ url \".*\"$, url \"https://github.com/tdewolff/minify/archive/v$VERSION.tar.gz\"," minify.rb
-sed -i "s/^ sha256 \".*\"$/ sha256 \"$SHA256\"/" minify.rb
-git commit -am "Update to v$VERSION"
-git push
-cd -
-
-#echo ""
-#echo "Releasing Python bindings..."
-#cd ../bindings/py
-#make publish
-#cd -