Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/misc/licensed-download.sh
diff options
context:
space:
mode:
authorCory Miller <13227161+cory-miller@users.noreply.github.com>2022-12-13 10:14:06 -0500
committerGitHub <noreply@github.com>2022-12-13 10:14:06 -0500
commit65a6e4ea0b386358ec7c217f4d31ad5590802f50 (patch)
treec5e92e481a1210e35802359063da9e9ab7443f0c /src/misc/licensed-download.sh
parent363a2be3537234dda8c07b08651b4a8ff1615f8b (diff)
Add backports to v2 branch (#1040)v2.6.0
* Update licensed version * Backport for submodule command wrapping * Update NPM packages * Update dist/index.js * Rebuild using Node 12 * Rebuild after a more aggressive cleanup of local files * Backport change to replace datadog/squid with ubuntu/squid
Diffstat (limited to 'src/misc/licensed-download.sh')
-rwxr-xr-xsrc/misc/licensed-download.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/misc/licensed-download.sh b/src/misc/licensed-download.sh
index 192091e..973e8e2 100755
--- a/src/misc/licensed-download.sh
+++ b/src/misc/licensed-download.sh
@@ -2,23 +2,23 @@
set -e
-if [ ! -f _temp/licensed-3.3.1.done ]; then
+if [ ! -f _temp/licensed-3.6.0.done ]; then
echo 'Clearing temp'
- rm -rf _temp/licensed-3.3.1 || true
+ rm -rf _temp/licensed-3.6.0 || true
echo 'Downloading licensed'
- mkdir -p _temp/licensed-3.3.1
- pushd _temp/licensed-3.3.1
+ mkdir -p _temp/licensed-3.6.0
+ pushd _temp/licensed-3.6.0
if [[ "$OSTYPE" == "darwin"* ]]; then
- curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-darwin-x64.tar.gz
+ curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.6.0/licensed-3.6.0-darwin-x64.tar.gz
else
- curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz
+ curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.6.0/licensed-3.6.0-linux-x64.tar.gz
fi
echo 'Extracting licenesed'
tar -xzf licensed.tar.gz
popd
- touch _temp/licensed-3.3.1.done
+ touch _temp/licensed-3.6.0.done
else
echo 'Licensed already downloaded'
fi