Compare commits
No commits in common. "e90055e3bd181961a2609435e2afd044bf6172f6" and "0b2e66e7ae61750704ac1acdd2c529c237ec0341" have entirely different histories.
e90055e3bd
...
0b2e66e7ae
2 changed files with 6 additions and 6 deletions
10
release.sh
10
release.sh
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
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"
|
||||||
|
@ -19,8 +18,9 @@ fi
|
||||||
|
|
||||||
bazel build cram
|
bazel build cram
|
||||||
|
|
||||||
mkdir -p "${TON}/key"
|
TON="$HOME/ton"
|
||||||
cp "${KEY}.pub" "$TON/key"
|
mkdir -p "$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 "${KEY}" -n "${SIG}" "${BUILD}"
|
ssh-keygen -Y sign -f ~/.ssh/id_arrdem@arrdem -n "${SIG}" "${BUILD}"
|
||||||
|
|
||||||
git checkout trunk
|
git checkout trunk
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# But ... that's exactly what we want to do.
|
# But ... that's exactly what we want to do.
|
||||||
# So this script exists to find a 'compliant' Python install and use that.
|
# So this script exists to find a 'compliant' Python install and use that.
|
||||||
|
|
||||||
PYTHONREV="3.11"
|
PYTHONREV="3.10"
|
||||||
CMD="python${PYTHONREV}"
|
CMD="python${PYTHONREV}"
|
||||||
|
|
||||||
if [ -x "$(command -v "$CMD")" ]; then
|
if [ -x "$(command -v "$CMD")" ]; then
|
||||||
|
|
Loading…
Reference in a new issue