diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-14 09:33:04 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-14 09:33:04 -0300 |
commit | 589c6b87be85a60603636d47526675e46d98a015 (patch) | |
tree | c4fc54613cb9fd72971688c487cc24ad13b75377 /contrib | |
parent | 333812272b8fee74009ed32aa7c5424bfcfee6eb (diff) | |
download | wallet-core-589c6b87be85a60603636d47526675e46d98a015.tar.gz wallet-core-589c6b87be85a60603636d47526675e46d98a015.tar.bz2 wallet-core-589c6b87be85a60603636d47526675e46d98a015.zip |
update prebuilt script
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/cleanup-prebuilt-dir.sh | 7 | ||||
-rwxr-xr-x | contrib/publish-prebuilt-dir.sh | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/contrib/cleanup-prebuilt-dir.sh b/contrib/cleanup-prebuilt-dir.sh new file mode 100755 index 000000000..1f664f860 --- /dev/null +++ b/contrib/cleanup-prebuilt-dir.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1 + +cd prebuilt +git checkout -- . +git pull diff --git a/contrib/publish-prebuilt-dir.sh b/contrib/publish-prebuilt-dir.sh new file mode 100755 index 000000000..33307a4c0 --- /dev/null +++ b/contrib/publish-prebuilt-dir.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +COMMIT=$(git rev-parse --verify HEAD) +MSG="built from ${COMMIT}" + +git commit -m "$MSG" -a +git push |