mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-08 15:27:13 +02:00
Remove files which are no longer relevant
This commit is contained in:
parent
07fa4c037b
commit
a7af40a87e
BIN
key.json.enc
BIN
key.json.enc
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
(function(a=[1, b[1]], b=[a[0], 2]) [a, b])()
|
|
47
release.sh
47
release.sh
@ -1,47 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
openssl aes-256-cbc -K $encrypted_ce4fc3e4b052_key -iv $encrypted_ce4fc3e4b052_iv -in key.json.enc -out key.json -d
|
|
||||||
|
|
||||||
if [ ! -d ${HOME}/google-cloud-sdk ]; then
|
|
||||||
wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-206.0.0-linux-x86_64.tar.gz -O install.tar.gz
|
|
||||||
tar -xvzf install.tar.gz
|
|
||||||
|
|
||||||
./google-cloud-sdk/install.sh -q
|
|
||||||
fi
|
|
||||||
|
|
||||||
export PATH=$PATH:`pwd`/google-cloud-sdk/bin
|
|
||||||
|
|
||||||
gcloud auth activate-service-account --key-file key.json
|
|
||||||
gcloud components install gsutil -q
|
|
||||||
|
|
||||||
if [ -z "$VERSION" ]; then
|
|
||||||
echo -e "No version to release specified with the \$VERSION env var, exiting"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$GCS_BUCKET_PATH" ]; then
|
|
||||||
echo "No GCS bucket specified using \$GCS_BUCKET_PATH, using gs://jsonnet"
|
|
||||||
GCS_BUCKET_PATH="gs://jsonnet"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pushd jsonnet
|
|
||||||
|
|
||||||
for elem in darwin,amd64 linux,amd64; do
|
|
||||||
IFS="," read os arch <<< "${elem}"
|
|
||||||
echo "Building for $os $arch"
|
|
||||||
env CGO_ENABLED=0 GOOS=$os GOARCH=$arch go build .
|
|
||||||
|
|
||||||
path=${GCS_BUCKET_PATH}/${VERSION}/${os}/${arch}/
|
|
||||||
echo "Copying to $path"
|
|
||||||
|
|
||||||
gsutil cp jsonnet $path
|
|
||||||
rm jsonnet
|
|
||||||
done
|
|
||||||
|
|
||||||
echo $VERSION > latest
|
|
||||||
gsutil cp latest ${GCS_BUCKET_PATH}/
|
|
||||||
|
|
||||||
popd
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo 'package ast' > ast/stdast.go
|
|
||||||
echo 'var StdAst = &LiteralNull{}' >> ast/stdast.go
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
std.thisFile
|
|
Loading…
Reference in New Issue
Block a user