Skip to content

Commit

Permalink
chore: test branch
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwalach committed Aug 1, 2024
1 parent 406116a commit 7d2bbb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module ci

go 1.22
8 changes: 4 additions & 4 deletions licenses/install
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ set -e
if [ ! -d .bin ]; then
mkdir .bin
fi
curl https://raw.githubusercontent.com/ory/ci/master/licenses/license-engine.sh -o .bin/license-engine.sh
curl https://raw.githubusercontent.com/ory/ci/update-licenses/licenses/license-engine.sh -o .bin/license-engine.sh
chmod +x .bin/license-engine.sh
curl https://raw.githubusercontent.com/ory/ci/master/licenses/licenses -o .bin/licenses
curl https://raw.githubusercontent.com/ory/ci/update-licenses/licenses/licenses -o .bin/licenses
chmod +x .bin/licenses

if [ -f go.mod ]; then
Expand All @@ -21,7 +21,7 @@ if [ -f go.mod ]; then
echo
} 2>/dev/null
GOBIN=$(pwd)/.bin go install github.com/google/go-licenses@latest
curl https://raw.githubusercontent.com/ory/ci/master/licenses/license-template-go.tpl -o .bin/license-template-go.tpl
curl https://raw.githubusercontent.com/ory/ci/update-licenses/licenses/license-template-go.tpl -o .bin/license-template-go.tpl
fi

if [ -f package.json ]; then
Expand All @@ -30,5 +30,5 @@ if [ -f package.json ]; then
echo "Installing the Node license checker ..."
echo
} 2>/dev/null
curl https://raw.githubusercontent.com/ory/ci/master/licenses/license-template-node.json -o .bin/license-template-node.json
curl https://raw.githubusercontent.com/ory/ci/update-licenses/licenses/license-template-node.json -o .bin/license-template-node.json
fi

0 comments on commit 7d2bbb0

Please sign in to comment.