File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
33set -o errexit -o nounset -o pipefail
44
5+ git config user.email
" [email protected] " 6+ git config user.name " Your Name"
7+
58# Set by GH actions, see
69# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
710tag=${GITHUB_REF_NAME}
811# The prefix is chosen to match what GitHub generates for source archives
912prefix=" toolchains_llvm-${tag} "
1013archive=" toolchains_llvm-${tag} .tar.gz"
11- git archive --format=tar --prefix=" ${prefix} /" " ${tag} " | gzip > " ${archive} "
14+ sed -i.bak " s/0.0.0/${tag} /" MODULE.bazel && git add MODULE.bazel && git commit -m " Update version" > /dev/null
15+ git archive --format=tar --prefix=" ${prefix} /" HEAD | gzip > " ${archive} "
1216sha=$( shasum -a 256 " ${archive} " | cut -f1 -d' ' )
1317
1418sed \
Original file line number Diff line number Diff line change 1414
1515module (
1616 name = "toolchains_llvm" ,
17- version = "0.10 .0" ,
17+ version = "0.0 .0" ,
1818 compatibility_level = 0 ,
1919)
2020
You can’t perform that action at this time.
0 commit comments