Skip to content

Commit

Permalink
Merge pull request #203 from airyhq/release
Browse files Browse the repository at this point in the history
Minimal release script
  • Loading branch information
lucapette committed Nov 2, 2020
2 parents 0d7f2b5 + 592c279 commit 60cbb12
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/release.sh
@@ -0,0 +1,17 @@
#!/bin/bash

set -eo pipefail
IFS=$'\n\t'

echo $AIRY_GITHUB_TOKEN
echo $GITHUB_USER

echo $AIRY_GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USER --password-stdin

release_targets=$(bazel query "filter("release$", //...)" --output label)

for target in $release_targets; do
echo "Deploying $target"
bazel run $target
done

0 comments on commit 60cbb12

Please sign in to comment.