Use the tirefireind key
This commit is contained in:
parent
0b2e66e7ae
commit
3a0f174e37
1 changed files with 5 additions and 5 deletions
10
release.sh
10
release.sh
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
VERSION="$1"
|
VERSION="$1"
|
||||||
TAG="release-v${VERSION}"
|
TAG="release-v${VERSION}"
|
||||||
|
KEY="${HOME}/.config/ssh/id_arrdem@tirefireind"
|
||||||
|
TON="${HOME}/ton"
|
||||||
|
|
||||||
if git tag | grep "$TAG"; then
|
if git tag | grep "$TAG"; then
|
||||||
git checkout "$TAG"
|
git checkout "$TAG"
|
||||||
|
@ -18,9 +19,8 @@ fi
|
||||||
|
|
||||||
bazel build cram
|
bazel build cram
|
||||||
|
|
||||||
TON="$HOME/ton"
|
mkdir -p "${TON}/key"
|
||||||
mkdir -p "$TON/key"
|
cp "${KEY}.pub" "$TON/key"
|
||||||
cp ~/.ssh/id_arrdem@arrdem.pub "$TON/key"
|
|
||||||
chmod 644 "$TON/key"/*
|
chmod 644 "$TON/key"/*
|
||||||
|
|
||||||
D="$TON/pkg/arrdem/cram/v${VERSION}"
|
D="$TON/pkg/arrdem/cram/v${VERSION}"
|
||||||
|
@ -29,6 +29,6 @@ SIG="${D}/cram.sig"
|
||||||
mkdir -p "$D"
|
mkdir -p "$D"
|
||||||
cp -f ./bazel-bin/cram "${BUILD}"
|
cp -f ./bazel-bin/cram "${BUILD}"
|
||||||
rm -f "${SIG}"
|
rm -f "${SIG}"
|
||||||
ssh-keygen -Y sign -f ~/.ssh/id_arrdem@arrdem -n "${SIG}" "${BUILD}"
|
ssh-keygen -Y sign -f "${KEY}" -n "${SIG}" "${BUILD}"
|
||||||
|
|
||||||
git checkout trunk
|
git checkout trunk
|
||||||
|
|
Loading…
Reference in a new issue